Realizing that it is possible to change the prefs check-off box in Finder to hide the Hard Drive icon, how would you do this from the command line interface? I.e. what and/or where is the CLI command that emulates the check-off box?
|
feedback
|
|
For hiding the Hard Drive you can modify Finder's preferences using the Specifically you would want to run:
and relaunch the Finder (using For hiding files in general from Finder you can either have
To reverse:
| |||||||
feedback
|
|
I think you're looking for SetFile -a V /path/to/folder SetFile is not included by default in versions prior to Snow Leopard, but you can get it from the Apple developers kit. | ||||
|
feedback
|
|
Disclaimer : This is not the right answer yet, but hopefully someone can build upon it to make it work :-
| |||
feedback
|