• 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: invisible files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: invisible files (From: "amine layachi" <email@hidden>)

  • Prev by Date: Re: invisible files
  • Next by Date: Re: Sending a message via Program Linking
  • Previous by thread: Re: invisible files
  • Next by thread: Help read from resource fork (end)
  • Index(es):
    • Date
    • Thread