Re: duplicate one file
Re: duplicate one file
- Subject: Re: duplicate one file
- From: Emmanuel <email@hidden>
- Date: Sat, 3 Aug 2002 11:18:23 +0200
At 9:32 AM +0200 3/8/02, Mirko wrote:
>
>
what i need is just the possibility to create thousand of copy of the same
>
file...
Not sure what your problem is.
duplicating files is the Finder's job. If you have not already, you should
have a look at the Finder's dictionary. Did you try simply:
----------------
set theFile to alias "Macintosh HD:myfile.htm"
repeat 1000 times
tell application "Finder" to duplicate theFile
end
----------------
A more sophisticated script would keep track in a list of the references of
the duplicated files, so that renaming them would be easier.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.