Jump to content

Darwin


  • Please log in to reply
4 replies to this topic

#1
miranda363

miranda363

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 137 posts
Does anyone know the command to change a files attribute to hidden? please

#2
39thRonin

39thRonin

    Mac OS X - 10 Steps into the future of Computing...

  • Retired
  • 356 posts

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


Hidden in what way - from the OS X finder?

#3
Technobob

Technobob

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 875 posts
  • Gender:Male
  • Location:Ontario, Canada
The way I do it in Mac is click to rename the file or folder then place a peroid at the begining of the name. This makes it hidden to Finder
Sample
.folder
.file

#4
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

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 :(

#5
miranda363

miranda363

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 137 posts
Excellent people thanks for that





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy