Tip 156Hide Files

There are two ways of making files invisible on your Mac. Neither is bulletproof from a security standpoint, and anybody with know-how would be able to uncover them in seconds. But for quietly hiding a file or two for a short period, they’re worth considering. If you need to protect files from prying eyes, take a look at Tip 126, Secure All Your Files Against Hackers and Tip 209, Create Encrypted Archives for All Computers.

Hiding Files via Unix

Your Mac’s operating system, OS X, is actually a version of Unix. In Unix, you can make a file invisible by adding a period (.) in front of its filename, and this works on Macs too. This means the file won’t show up in Finder windows, in file open dialog boxes, or on the desktop. ...

Get Mac Kung Fu, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.