Jump to content

Darwin


miranda363
 Share

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
Share on other sites

 Share

×
×
  • Create New...