• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: duplicate command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duplicate command


  • Subject: Re: duplicate command
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 12 Apr 2013 08:15:41 -0500

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?


 _______________________________________________
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

  • Follow-Ups:
    • Re: duplicate command
      • From: "koenig.yvan" <email@hidden>
References: 
 >Re: duplicate command (From: Robert Cuilla <email@hidden>)

  • Prev by Date: Re: do shell script, curl and cookies
  • Next by Date: Re: duplicate command
  • Previous by thread: Re: duplicate command
  • Next by thread: Re: duplicate command
  • Index(es):
    • Date
    • Thread