Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Making files invisible' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Making files invisible
Authored by: ashill on Nov 29, '01 03:09:26PM
To make files invisible, if you have the developer tools installed, use the SetFile command line tool in /Developer/Tools/SetFile. (I have put a symbolic link in /usr/local/bin so that I can type "setfile" from anywhere to access the tool.) There is a hint somewhere on this site with a more full description of SetFile's functions (you can search for it), but, to make a file invisible, type:
/Developer/Tools/SetFile -a V /path/to/file
-Alex Hill

[ Reply to This | # ]
Making files invisible
Authored by: seb2 on Nov 29, '01 07:50:54PM

to find out about its options, just call it with "--help".

by the way, using it with "-a v" (small "v") will make files/folders visible again.



[ Reply to This | # ]
Making files invisible
Authored by: duien on Jun 24, '03 07:40:30PM

just a note - it seems that you cannot use the ~ in the path to the folder (don't know about with a file, haven't tried it)
i tried to set a folder in my home directory invisible with this command:
/Developer/Tools/SetFile -a V ~/bin/
and nothing happend, but when i used this:
/Developer/Tools/SetFile -a V /Users/emmann/bin/
it worked

that might be the trouble when you're editing the /.hidden file as well, don't know if you were trying to use ~



[ Reply to This | # ]