Dr Fragen in the operating room

Poof it's Gone

·

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.
[applescript]
SetFile -a V path/to/fileOrFolder
[/applescript]
To make it visible again…
[applescript]
SetFile -a v path/to/fileOrFolder
[/applescript]
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.