Re: invisible files
Re: invisible files
- Subject: Re: invisible files
- From: Jason Bourque <email@hidden>
- Date: Mon, 04 Dec 2000 19:01:13 -0500
>
Don't use the Duplicate command of Finder application.
>
You should use instead copyFile command given by Jon's command scripting
>
addition.
>
>
Try this script :
>
>
set myFolder to (choose folder with prompt ("select folder to process"))
>
-- I add this line :
>
set destFolder to (choose folder with prompt ("select destination folder"))
>
set myFolderContents to list folder myFolder
>
repeat with x in myFolderContents
>
set thePath to (myFolder as text) & x
>
set theFile to thePath as alias
>
if folder of (info for theFile) is false then
>
copyFile theFile to destFolder -- I modified this line
>
end if
>
end repeat
Why, what is the difference between the two commands?
Thanks, trying to expand the horizon.
Jason Bourque