• 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: Copy files inside a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy files inside a folder


  • Subject: Re: Copy files inside a folder
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 26 Nov 2001 12:07:56 -0800

On Monday, November 26, 2001, at 07:13 AM, Cornwall wrote:

set outa to choose folder
set inta to choose folder
tell application "Finder"
duplicate every file of outa to inta
end tell

This works, and is the proper way to do it, but may be taking Bryan's request too literally. It will copy only the files that are immediately inside outa, and will skip any folders. To copy everything, change "every file" to "every item".


--Chris Nebel
AppleScript Engineering


  • Follow-Ups:
    • Re: Copy files inside a folder
      • From: Bryan Kobler <email@hidden>
References: 
 >Re: Copy files inside a folder (From: Cornwall <email@hidden>)

  • Prev by Date: Re: best scriptable FTP client
  • Next by Date: Re: OSA Menu- BBEdit Conflict
  • Previous by thread: Re: Copy files inside a folder
  • Next by thread: Re: Copy files inside a folder
  • Index(es):
    • Date
    • Thread