OK, I’m only really posting this cause I need it and I just want to put it somewhere to remember it.
To make a file or folder invisible issue the following from the CLI.
SetFile -a V path/to/fileOrFolder
To make it visible again…
SetFile -a v path/to/fileOrFolder
That’s it. This can be especially useful on shared drives to keep others out of specific folders, etc. BTW, the file or folder still shows up in ls, it’s just not visible in Finder.
Related posts:
- VoodooPad
ProBlogging Please note that VoodooPad Pro has been renamed to VoodooPad....
Related posts brought to you by Yet Another Related Posts Plugin.