How to hide files and folders in OS X Snow Leopard

By default, OS X Snow Leopard doesn’t reveal its full power or potential to the end user very easily.  You kind of have to dig around to do some pretty basic things that Windows would let you do via a few right-clicks, etc.  The other frustrating thing with OS X is that there are a million ways to do effectively the same thing.  One of those pain-in-the-ass scenarios is simply hiding (or unhiding) a file or folder in OS X.  If you search the internet for “hide file OS X” you literally get 1000 solutions ranging from downloading third-party utilities, to having to download and install the Developer Tools, etc.  Today I present to you a very simple way of quickly hiding and unhiding files and folders, without the need to download and install any other crap!  Here’s how you do it, the easy way!  Let’s get started.

To hide a folder, add a period (“.”) to the beginning of the folder name.  Yes, that’s it!  But wait, OS X won’t let you do this via the Finder (clicking on a folder and simply renaming it), so you’ll have to do it from the terminal.  Ugh. I know, I hate it too.  But trust me, this one is easy!  Open up the Terminal app, and navigate your way to the path that contains the folder you want to hide (in this example, I’ll be navigating to the root of my Macintosh HD (note that the “\” is an escape character sequence, which will allow you to navigate to a volume or folder without having to use quotes around names that contain spaces):

cd /volumes/Macintosh\ HD/

Finder with CrapIWantToHide
Finder with CrapIWantToHide

Ok, so now we are at the root directory of our internal Macintosh HD.  Let’s suppose you had a folder in here called “CrapIWantToHide”, to hide this folder, just use this command to move this folder into a new hidden version of itself:

mv CrapIWantToHide .CrapIWantToHide

Put simply, you are executing the Move command, specifying which folder to move, followed by the new folder name you are moving it to.  Note that this won’t hide the contents of the folder, just the folder itself!

Also note that if you navigate to the root Macintosh HD via Finder, your folder has disappeared (because now it is hidden)!  To navigate to this folder via Finder (so that you can see its contents), use this keyboard sequence with Finder selected:

command + shift + G

Go To Folder
Go To Folder

This will open up the “Go to the folder:” dialogue where you can type in your new hidden folder path:

/Volumes/Macintosh HD/.CrapIWantToHide

Boom! – it takes you straight to the inside of your newly hidden folder (note that you don’t need the “\” escape character when entering the folder path in Finder’s “Go to the Folder:” dialogue.).

If you ever want to unhide your folder again, just do the same process but reverse the two folder names in the mv command:

mv .CrapIWantToHide CrapIWantToHide

Done.  Universe restored to normal.

Ok, so what about files?  This one is slightly trickier, but not really.  Instead of adding a “.” to each file name (and using the mv (Move) command), we are going to use another Terminal command instead to set an attribute of the file that OS X Snow Leopard provides (and the Finder understands as well, so it won’t show the hidden file once this attribute is set).

Open up the Terminal app, and navigate to the folder containing the files you want to hide.  Using our trusty example from above:

cd /volumes/Macintosh\ HD/CrapIWantToHide/

From here, we can hide all the files in the directory via the “chflags” command.  Here is how to use it:

chflags hidden <filename>

So for example if we had a text file in this directory that we wanted to hide (called “MySecrets.txt”):

chflags hidden MySecrets.txt

Bam!  The file is now hidden.  Visit the folder yourself via Finder, and verify it is now “gone”!  So how do we unhide a file?  It’s simple… instead of specifying “hidden” via chflags, use “nohidden” instead:

chflags nohidden MySecrets.txt

Viola!  Back to normal, and the file is now visible in Finder again.  Chflags is a powerful command that you can use very quickly to hide and unhide files in batches as well, using your old Unix/DOS skills.  For example, say we wanted to hide all the “jpg” files in a certain directory:

chflags hidden *.jpg

Boom!  All the jpeg files in the folder now have the “hidden” attribute, and won’t show up in Finder anymore.

Congratulations, and enjoy these simple tips!

RapidShare(Leading FileHosting) Launches new Manager “”RSM2”

rapidshare manager rsm2

RapidShare launches new RapidShare Manager “RSM2”

RapidShare has completely overhauled its RapidShare Manager, better known as RSM, and now offers the new Manager for free download. Using the RSM2 every premium user can easily and smoothly down- and upload large amounts of data simultaneously. Moreover, the RSM2 provides the opportunity to manage one’s accounts.
The RSM2 is platform independent (there are releases for Windows, Mac and Linux) and offers – amongst others – the following features:

  • File management
  • Management of several accounts
  • Email client

rapidshare manager

Function description

Upload

Uploading your files using the RSM2 is quite simple: Open the upload rider and drag the desired files into the list using drag and drop. Alternatively, click on the blue button “Add” in the menu bar to select the files.

You decide how much to upload at the same time. Queued uploads start automatically as soon as a current one is complete. In order to receive the download link, please click the appropriate line with the right mouse button and select the option “Copy Download Link“.

RSM Link

You can generate an RSM link for other RSM users, which refers to several files. Select the entries from the list of uploads you would like to summarize in an RSM link. Marked entries are highlighted in blue. Then click on “Create RSM Link” on the menu bar above.

A new window opens. You will see the links you selected at the very top. You can change the summary again, add further links or copy text into the field from which the RapidShare links are automatically extracted. If you want to delete the entire selection, click on “Delete Text“.

You also have the option to write a comment, which will be displayed to other users during the download. Use the “Generate RSM Link” to create the link, which you will transfer to the clipboard by clicking on “Copy URL“. It can now be inserted into an email using the right mouse button.

Please note that not all users work with the RSM2 and you should therefore offer individual download links as an alternative.

Download

Open the Download rider and click on the blue button “Add“. You can copy RapidShare download links into the list or insert any text with the contained links. They are extracted from the text and ticked by clicking on the “Accept Links” button.

A message will inform you, if the links are correct and if the files are available. If you do not want to download all found links, you can deselect the unwanted ones by cancelling the marking of the file. Then click on the “Download” button.

You have the option of changing the storage location for the files and saving a note for the downloads. You can view, change or subsequently insert this note at any time. To do this, click on the appropriate entry with the right mouse button and select the option “Display Note“.

You decide how many downloads are completed at the same time. Queued uploads start automatically as soon as a current download is complete. When a file is completely stored, it can be opened with a double mouse click.

Account/Settings

The RSM2 has many functions, so that you can individually customise. For example, the proxy setting, the language, messages and many other options can be changed according to your preferences.

RapidShare Manager’s new release can be downloaded under the following link:

http://www.rapidshare.com/rsm.html