Jump to content
5 posts in this topic

Recommended Posts

Does anyone know the command to change a files attribute to hidden? please

 

If you had Xcode Tools installed, in Terminal write this to hide a file/dir:

/Developer/Tools/SetFile -a -V /path-to/file

and write this if you want to show:

/Developer/Tools/SetFile -a -v /path-to/file

 

-a means attributes

-V (UPPERCASE) means hide

-v (lowercase) means show

 

The only thing I can not hide are links like /etc -> /private/etc, /tmp -> /private/tmp and /var -> /private/var :(

Link to comment
https://www.insanelymac.com/forum/topic/3718-darwin/#findComment-23803
Share on other sites

×
×
  • Create New...