moving files

Roger Eller roger.e.eller at sealedair.com
Sun Jan 12 23:15:57 EST 2014


My experience with rename has only been on Windows.  I have never seen a
file lost during a move.  I assume that it is just doing an OS level
command, so if permissions allow it, the command is successful.

~Roger
On Jan 12, 2014 10:51 PM, "stephen barncard" <
stephenREVOLUTION2 at barncard.com> wrote:

> On Sun, Jan 12, 2014 at 5:38 PM, Roger Eller <roger.e.eller at sealedair.com
> >wrote:
>
> > With revCopyFile, you have to verify the copy worked with your script,
> then
> > delete the original if your goal is to MOVE the file.  Whereas rename
> will
> > MOVE the file if the output dir is not the same as the source.
> >
>
> With rename, is the original retained until the move is made ? Or is there
> a chance the file could disappear on an error?
> *--*
> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list