programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: RE : Search for file / Check file properties

From: Leon Wagner <leon_at_forth.com>
Date: Thu, 7 Aug 2008 08:48:53 -0700

How about rsync?

> -----Original Message-----
> From: sftalk-bounce_at_forth.com
> [mailto:sftalk-bounce_at_forth.com] On Behalf Of Charles Melice
> Sent: Thursday, August 07, 2008 8:47 AM
> To: sftalk_at_forth.com
> Subject: [sftalk] RE : Search for file / Check file properties
>
> Hi Roger,
>
> You know probably that the XCOPY.EXE command line do that for free...
>
> Charles
>
> -----Message d'origine-----
> De : sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]
> De la part de
> Roger Levy
> Envoyé : jeudi 7 août 2008 16:55
> À : sftalk_at_forth.com
> Objet : [sftalk] Search for file / Check file properties
>
>
> Hi All,
> I wanted to implement an automatic resource-update facility,
> but I'm not
> sure how to do it in SwiftForth, or where to find out.
>
> I would like to be able to search for a file in a source
> directory and see
> if we need to copy it to a target directory.
>
> If the source file is found,
>
> 1. If it doesn't exist in the target directory, copy it and exit.
>
> 2. If it exists in the target directory and the source file
> is newer than
> the target file, copy it and exit.
>
> 3. Else do nothing and exit.
>
>
> Mostly I was just wondering what are the commands to use to
> 1.) find a file
> in a directory and 2.) check its Last Modified attribute.
>
> Roger
>
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to
> sftalk-request_at_forth.com For
> list command help, send subject "help" to
> sftalk-request_at_forth.com Message
> archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product
> support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and
> bug reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Thu Aug 07 2008 - 08:49:12 PDT

This archive was generated by hypermail 2.2.0 : Wed Jan 07 2009 - 03:04:21 PST