Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to make "hidden" folders

My problem is that a lot of the applications that I use, such as iTunes, iMovie, iPhoto, and Garageband all make folders for themselves in the "photos", "movies", and "music" folders instead of in a system/applications folder.

This is bothersome as when I am looking through these folders I need to pick out which folders actually have content, or which are simply for those apps. It just makes everything seem a lot more cluttered than it should be.

Anyways, my question is that is there any way to make folders "hidden", like in Windows? So they are still there for the applications to use, just when browsing in those folders for other purposes, I don't see them.

Macbook, Mac OS X (10.5.4), 2 GB RAM - 2.4 GHz Intel

Posted on Jul 23, 2008 2:16 PM

Reply
Question marked as Best reply

Posted on Jul 23, 2008 2:34 PM

yes, you can make folder/files hidden.

this is done as follows. open terminal (it's in application/utilities) and type

chflags hidden

do not press enter yet. press space. then drag the folder you want to hide to the terminal window.

the resulting line should look like this
\\
chflags hidden path/to/folder
\\
where path/to/folder is the unix path to the folder you want to hide.

press enter. that will hide the folder.

to unhide it use

\\
chflags nohidden path/to/folder
8 replies
Question marked as Best reply

Jul 23, 2008 2:34 PM in response to akafinland

yes, you can make folder/files hidden.

this is done as follows. open terminal (it's in application/utilities) and type

chflags hidden

do not press enter yet. press space. then drag the folder you want to hide to the terminal window.

the resulting line should look like this
\\
chflags hidden path/to/folder
\\
where path/to/folder is the unix path to the folder you want to hide.

press enter. that will hide the folder.

to unhide it use

\\
chflags nohidden path/to/folder

Jul 23, 2008 3:37 PM in response to akafinland

placing a "." (period in front of the folder will hide it in finder). when you need to see it, there are programs such as tinker tool you can use to reset finder to see hidden folders.

You can also create symbolic links to those folders and put them somewhere convenient such as documents folder to access them without having to reset finder.

renaming folders with the period "." in front will require the terminal.app command line command "mv", example:
sudo mv /users/joe/newfolder /users/joe/.newfolder

All of this is well and good, but most apps allow you to change your data folder location.
You could for instance relocate your itunes data folder someplace else.

Remember, if you make a folder invisible any folder inside that folder is hidden from finder as well.
Let's say you want to make itunes folder invisible.
the default location is: /users/joe/Music/iTunes/iTunes Music/
to make hidden: /users/joe/.Music/iTunes/iTunes Music/ #changing Music to .Music to hide itunes data folders#
You will have to change the location on itunes preferences or simply create a symbolic link called "Music" pointing to ".Music".
eg: sudo ln -s /Users/joe/.Music /Users/joe/Music #this makes the link Music that points to .Music#

You can make copies of the "Music" symbolic link normally and paste them wherever you want to easily access your hidden files and directories.

There is a program called Symbolic Linker that will make creating links easier.

Have fun!

Kj

Jul 23, 2008 3:46 PM in response to KJK555

oops, sorry. still renaming things like the itunes folder means you have to point itunes to the new location. this can be tricky because a hidden folder will not show up in the dialog for choosing itunes library. same with iphoto etc. much simpler to put a hidden flag on something. that can't break anything and renaming might.

How to make "hidden" folders

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.