Skip to main content

Posts

Showing posts with the label Hiding Folders

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

CREATING HIDDEN FOLDERS/HIDING A FOLDER

How to hide a folder or how to create a hidden folder in Mac Ever worried about hiding your personal stuffs on your Mac? This post is gonna bring shining in the eyes of the users who own a Mac but have to share it with others. I'm going to mention a cool trick about how to create a hidden folder and also how to hide a folder in Mac OS X. This can be done by using Terminal and it is really easy as the command is of just one small line. The basic concept working to hide a folder is to add a dot/period/point before the folder name will make it invisible, though it will remain at the same place. So here is the Terminal magic. (A) How to create a hidden folder: i. Go to Application and open Utilities. ii. Launch Terminal. iii. Now you have to go to the folder in which you want to create the folder. iv. Command to enter a folder is cd foldername , e.g. cd Desktop . v. Once you enter the folder then create the hidden folder by the command mkdir .foldername e.g. mkdir .macmasters vi. Thi