Re: Modified "modification date"
Re: Modified "modification date"
- Subject: Re: Modified "modification date"
- From: ba95 <email@hidden>
- Date: Fri, 11 Dec 2009 05:39:54 +0100
Le 10 déc. 09 à 21:00, email@hidden a
écrit :
Date: Thu, 10 Dec 2009 08:13:53 -0600
From: Luther Fuller <email@hidden>
Subject: Re: Modified "modification date"
To: Applescript Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"
I use ...
do shell script "cp -np " & sourcePath & space & targetPath
to copy files and the modification date is preserved.
I've also verified that drag & drop also preserves the modification
date.
I haven't tried the Finder's 'duplicate' or 'move' commands.
If you are using one of these, it may be the source of your problem.
Thanks Luther.
You may have solved the problem.
I am going to check it and I will tell you.
I confirm that "manual" drag and drop preserves the modification date.
The snippet to change is:
--
set XXX to folder "HD:Applications:xxx:"
set YYY to folder "BUdisk:Backupss:yyy:"
duplicate XXX to YYY with replacing
--
Could you explain the command line a little more so that I can use it,
please ?
do shell script "cp -np " & sourcePath & space & targetPath
will become
do shell script "cp -np " & XXX & space & YYY
"cp-np" ?
space ?
Is "XXX" going to replace "YYY" ?
Many thanks and apologies for my shell scripting "innocence".
Best
BA
_______________________________________________
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