Re: OS X: changing visibility of files/folders
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