• 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: simple file copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple file copy


  • Subject: Re: simple file copy
  • From: Brian <email@hidden>
  • Date: Thu, 21 Apr 2005 00:37:55 +0200


Le 21 avr. 05, à 00:19, Mark J. Reed a écrit :

Seems like it should be simple, but I don't see how to do it in the Finder.  There's always this:

do shell script "cp  ~/Desktop/source/'File a'   ~/Desktop/destination/'File B'"

More simple or not, you can do that :

tell application "Finder"
set aFile to duplicate (path to desktop folder as string) & "source:File A" to (path to desktop folder as string) & "destination:"
set name of aFile to "File B"
end tell

Brian
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >simple file copy (From: Bob Cuilla <email@hidden>)
 >Re: simple file copy (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: simple file copy
  • Next by Date: Re: simple file copy
  • Previous by thread: Re: simple file copy
  • Next by thread: Re: simple file copy
  • Index(es):
    • Date
    • Thread