Two methods for making files invisible
January 06, 2010 (late evening)
In MacOSX, there are two simple ways to make files invisible from the command line: (both methods do require the installation of Apple’s Developer Tools)
Method 1:
Make invisible:
/Developer/Tools/SetFile -a V ~/Desktop/MyDoc.txt
Make visible:
SetFile -a v ~/Desktop/MyDoc.txt
Method 2:
Make invisible:
chflags hidden ~/Desktop/MyDoc.txt
Make visible:
chflags nohidden ~/Desktop/MyDoc.txt
You must be logged in to comment on this post (damn those spammers)
