Hidden Tiger

/Developer/Tools/SetFile -a V /dir/path/to/hide/

ERROR: Unexpected Error. (-5000)  on file:

- is Apple's way of saying run SetFile under sudo.

Stupid sudo. 
Advertisements

2 responses to “Hidden Tiger

  1. same as me, Joe B. got it mounting nfs share via directory utility, but it’s invisible. getfileinfo shows it to be have attribute small v, but setfile cannot change it. get the same error: ERROR: Unexpected Error. (-5000) on file.

  2. I am having this trouble on the root of my HD and even running sudo doesn’t work. I am trying to get a directory that I created to show up in the finder, but Leopard keeps it hidden because I have a mount point setup inside. When I “sudo SetFile -a V /dir” it gives me the same error.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s