Re: Handling Collisions on Copy or Move
Re: Handling Collisions on Copy or Move
- Subject: Re: Handling Collisions on Copy or Move
- From: Christopher Stone <email@hidden>
- Date: Thu, 16 Feb 2017 18:49:27 -0600
On Feb 16, 2017, at 00:41, Shane Stanley <email@hidden> wrote:
A safer way is to copy the file using a unique name, then try to rename it. If the rename fails, keep trying with new names.
You could use something like this:
Okay, that looks pretty good.
Thanks.
One more question.
The File manager moves a file to a new file path rather than renaming the file in-place?
Similarly to Unix's mv?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden