• 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: OS X: changing visibility of files/folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS X: changing visibility of files/folders


  • Subject: Re: OS X: changing visibility of files/folders
  • From: garbanzito <email@hidden>
  • Date: Wed, 19 Dec 2001 09:05:07 -0700

at 2001 12 19, 11:47 +0100, they whom i call christian vick wrote:
Does anyone know a possibility to get/set the "invisible" flag for files and
folders in OS X? Can Terminal do it?

you can get but not set the visibility in straight AppleScript:

visible of (info for ("path_to_somefile" as alias))

also, if you have the developer tools installed, the following shell command

/Developer/Tools/GetFileInfo -aV somefile

returns 0 for visible, 1 for invisible.

/Developer/Tools/SetFile -a V somefile

will make it invisible (lowercase v makes visible), assuming you
have privileges to make the change.

--
steve harley email@hidden


References: 
 >OS X: changing visibility of files/folders (From: christian vick <email@hidden>)

  • Prev by Date: Re: In a pickle with simple resize script
  • Next by Date: Re: cancel dialog button doesn't quit Filemaker pro
  • Previous by thread: OS X: changing visibility of files/folders
  • Next by thread: [OT] HTML Bulk Email Program
  • Index(es):
    • Date
    • Thread