Re: duplicate command
Re: duplicate command
- Subject: Re: duplicate command
- From: "koenig.yvan" <email@hidden>
- Date: Fri, 12 Apr 2013 15:26:50 +0200
Le 12/04/2013 à 15:15, Luther Fuller < email@hidden> a écrit : On Apr 11, 2013, at 7:10 PM, Robert Cuilla wrote: I am using the finder command "duplicate" to a mounted volume. looks something like this duplicate source to ""volume" with replacing. Of course a dialog box asks for the password as it should. I would like to embed the password into the "duplicate" command. Can I do this this so that there is no user interaction?
Have you tried using something like this ...
do shell script "cp -np " & sourcePath & space & targetPath
I've never seen any password activity with this, but perhaps I just haven't tried it in the right environment. Does it solve your problem? Or perhaps I have a problem?
A password may be requested under Mountain Lion for some specific folders in which the system doesn't want changes. The root of the boot volume is one of these folders.
Yvan KOENIG (VALLAURIS, France) vendredi 12 avril 2013 15:26:00
|
_______________________________________________
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