Skip to main content

MAKING A FILE/FOLDER INVISIBLE

How to hide a file/folder using Terminal

This is one of the greatest technique that I ever came across, I had to share my Mac in office and was curious about hiding confidential data. This was when I started exploring and finally came up with this solution.
These commands are to be typed in Terminal.
To make a file or folder invisible in Mac OS X Finder
setfile -a V testfile.txt
Here is goes, the file or folder is no longer visible via the Finder GUI, though it will be by Terminal. Your files are still there and you can find them via the command line and will show with an ls command. If you want your files and folders to be visible again, use this command:
To make a file or folder visible again in Mac OS X Finder
setfile -a v testfile.txt

Now the file/folder will be visible again to the Finder, cool isn't it?
Please Note: setfile is a command line utility included in Apple’s Developer Tools, which is a highly recommended optional install included on any Mac OS X install/restore CD/DVD. This is also available as a Xcode download from Apple’s Developer center.
More links & video about hiding.

Comments

Anonymous said…
Hmmm... great one. I know one anothr way, i read it in one of ur old post, Y dnt u compile both of them?
AL Humam said…
Gud idea buddy, would be doing in the main website http://macmasters.net

Thank you.
Anonymous said…
Well intended I think, but useless for simpleuser folks like me who open Terminal once every two years and who need step-by-step instructions. Because the part about how to install setfile - wtf is a
command line utility? - is only comprehensible to a developer. Guess I'll keep looking.....
girl games said…
Hello, nice post :)

Popular posts from this blog

An introduction to Mac OS X Server

Mac OS X server is combination of Power and Style. It derives power from its strong UNIX base and the style comes from well known Apple GUI. This combination makes Mac OS X Server one of the robust server available in present time. Mac OS X Server is built on a fully compliant UNIX foundation. This battle-tested core provides the stability, performance, and security that organizations require. And full UNIX conformance ensures compatibility with existing server and application software. Mac OS X Server is the ideal platform for deploying groundbreaking enterprise applications and services. The kernel in Mac OS X Server provides superior thread management and affinity algorithms for efficient handling of multithreaded applications on the latest generation of Intel multicore processors. It also provides precise control of real-time processing requirements, allowing a user-level thread — even an unprivileged one — to precisely specify its requirements for time-sensitive operations...

ENTOURAGE TROUBLESHOOTING: CRASHES WHILE LAUNCHING - II

Entourage Crashing due to Fonts There are two fonts that are known to be one of the most popular reasons of Entourage crashing. The first one is Helvetica Fractions which is majorly responsible to cause problems, the second is Times Phonetic. In order to fix this issue, don't just disable these fonts in Font Book, but physically remove them from your system and try to launch Entourage again. Other discussed reasons are database , schedules and duplicate daemons .

MANAGING YOUR MAILING LISTS

How to set up Mailing List Manager? Before we move ahead lets be clear about what a mailing list is all about? These are groups over the net that you join and they send mails to you, generally they come in bulk so it is a wise idea to create a seperate folder for this so that your inbox is never over limit. It is recommended to subscribe to a mailing list as it is a good source of information and knowledge. Here is an example of a mailing list and its subscription. Under mailing list manager rules, there is an option selecting which you can run more rules under one MLM ( Mailing List Manager ). Process to setup MLM: 1. Launch Entourage and select a mail that you have received from the mailing list. 2. Go to 'Tools' from the menu bar and select 'New'. 3. MLM is smart enough to fill up most of the feilds by itself, but make sure from your end that the the feilds entered is according to your preference. 4. Now it will allow you to add new folder to transfer mails coming f...