|
|
Hide an Alias with the Terminal
|
|
|
|
Forum Regular
Join Date: Apr 2007
Location: Iowa
Status:
Offline
|
|
How do I hide an alias in the terminal? I just reinstalled my the OS and there are some unix folders that are showing up under the Macintosh HD. I figured out how to hide the normal folders but the trick wont work with the alias folders.
Thanks for you help
|
2.33 White iMac | 2GB Ram | 500GB HD
2.2 BlackBook | 2GB Ram | 120GB HD
16GB Touch | 80GB Classic | 10GB Classic | 8GB Pink | 40GB Apple TV
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Apr 2007
Location: Iowa
Status:
Offline
|
|
Here is a link on what I am trying to do.
|
2.33 White iMac | 2GB Ram | 500GB HD
2.2 BlackBook | 2GB Ram | 120GB HD
16GB Touch | 80GB Classic | 10GB Classic | 8GB Pink | 40GB Apple TV
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2006
Location: Back in the Good Ole US of A
Status:
Offline
|
|
I found the following here:
Reasons for invisibility
In Mac OS X, there are three different ways a file or directory can be made invisible in the finder: it can have the "invisible" attribute set (as in older Mac OS systems), its name can start with "." (as in other unix systems), or its name can be listed in the /.hidden file. Many of the files and directories listed above are actually invisible for multiple reasons (e.g. /bin is listed in /.hidden, as well as having its invisible attribute set).
Note that OS X only respects the .hidden file on its boot volume, so if you boot from another disk, several normally-hidden files will suddenly be visible. Also, since Mac OS 9 (and older versions) only recognize the invisible flag, even more of these files (mainly /.vol, /mach, /mach.sym, and sometimes .DS_Store) will be visible when you boot into Mac OS 9.
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status:
Offline
|
|
To make something invisible:
setFile -a V ~/foo
To make something visible:
setFile -a v ~/foo
|
•
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Apr 2007
Location: Iowa
Status:
Offline
|
|
what is " ~/foo"?
Is it the path to the file?
|
2.33 White iMac | 2GB Ram | 500GB HD
2.2 BlackBook | 2GB Ram | 120GB HD
16GB Touch | 80GB Classic | 10GB Classic | 8GB Pink | 40GB Apple TV
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
Ya. ~ is a shortcut reference to one's home folder.
|
"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status:
Offline
|
|
~/foo was just an example. You can use the setFile command on files or folders.
|
•
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|