• 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
copying a list of files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copying a list of files


  • Subject: copying a list of files
  • From: "Edmond Cho" <email@hidden>
  • Date: Wed, 14 Feb 2001 19:07:22

Hello,
I have a script that collects a list of files according to certain search criteria. I have been trying to copy said list in one multi-file copy operation.

I understand that the syntax is:

copy {file "file1", file "file2"} to folder f

I have by this point amassed a list of {file "file1",file "file2"} in a variable, let's call it filelist. When I try to use the following:

copy filelist to folder f
or
copy {filelist} to folder f

instead of copying the list of files, it sets the variable filelist to the value of the alias f.

What am I missing about this? I can get it to work by a repeat loop, copying each item in filelist, but I thought it might work faster by passing the whole list at once to the copy operation.

Ed
Colorhythm
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


  • Follow-Ups:
    • Re: copying a list of files
      • From: JollyRoger <email@hidden>
    • Re: copying a list of files
      • From: Jolly Roger <email@hidden>
  • Prev by Date: Re: Mount volume, slash problem
  • Next by Date: Re: select a startup disc
  • Previous by thread: Re: Accessing a Record by variable--the solutions
  • Next by thread: Re: copying a list of files
  • Index(es):
    • Date
    • Thread