Moving a folder
Bob Sneidar
bobs at twft.com
Thu Jul 21 22:08:19 EDT 2011
Never done it, but I imagine you could shell out to check the permissions of where you are moving to. I don't know if there is a shell command to check effective permissions of the current user. If there are, do that. Barring that, a safer way would be to copy the files, check to make sure there were no errors, if there are bail, if there are not then delete the original.
Bob
On Jul 21, 2011, at 6:55 PM, Chip Thomas wrote:
> What's the best way to move a folder (with all contents) on a user's system?
>
> rename folder tOldFolder to tNewFolder
>
> revMoveFolder tOldFolder, tNewFolder
>
> or using a shell command
>
>
> Concerned about potential permissions issue that would prevent a proper
> move. What's the best way around that?
> _______________________________________________
> 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