Re: Given a POSIX Path...
Re: Given a POSIX Path...
- Subject: Re: Given a POSIX Path...
- From: Luther Fuller <email@hidden>
- Date: Mon, 06 Dec 2010 08:23:03 -0600
On Dec 6, 2010, at 8:06 AM, Mark J. Reed wrote: On Mon, Dec 6, 2010 at 8:55 AM, Thomas Fischer <fischer.th@aon.at> wrote:
the major disadvantage of using mv instead of the Finder would be that some of Mac OS X's extras will be lost, like comments and probably other metadata.
AFAICT, that hasn't been true since at least 10.4, probably earlier. The OS X versions of cp, mv, etc. preserve metadata, resource forks, etc.
My recent experience is that ...
do shell script "cp -np " & sourcePath & space & targetPath
does NOT preserve comments. I have to write the comment of the source file to the new file, via tell Finder, whenever I use this.
|
_______________________________________________
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