• 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: Michelle Steiner <email@hidden>
  • Date: Sun, 25 Nov 2001 19:33:30 -0700

On 11/25/01 7:17 PM, Bryan Kobler <email@hidden> wrote:

>I have just started to look at AppleScript and I have been given a task
>to make a script. What I need it to do is look at a folder and copy
>everything inside there to a folder on another disk. I have played
>around with recording my actions and seeing what code is written but my
>problem is that code seems to hard code the items I am moving. I really
>need a way to have generic code to move files of any name inside this
>folder.

tell application "finder"
copy files of <source folder> to <destination folder>
end tell

There are a number of ways to specify the source and destination folders;
I don't know what would be most appropriate to your needs, though.

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: Saving Entourage Attachments
  • Next by Date: NSS error -3201?
  • Previous by thread: Re: Remote Access Status (was OS 9.1 Bug workaround)
  • Next by thread: Re: Copy files inside a folder
  • Index(es):
    • Date
    • Thread