All Posts by Date or last 15, 30, 90 or 180 days.

As an Amazon Associate I earn from qualifying purchases @AMAZON

Designed for the most demanding needs of photographers and videographers.
The fastest, toughest, and most compatible portable SSD ever with speeds up to 2800MB/s.

Files and Folders That Are Invisible in Finder Windows (But Should Not Be)

I was working away yesterday in Terminal when I noticed several files and one large folders that I could see via 'ls' in Terminal, but which were not displayed in the Finder window.

Mind you, these are not “special” files; the were my own Stuff, hidden from me by the Finder for no reason at all (some kind of bug). The maddening thing was figuring out how to make them visible in the Finder window.

So here’s how to do it in Terminal— the details of using Terminal and a command line are complex (cannot teach it here), but you have to 'cd' to the correct directory, then (for example) in my case a folder called “WEB_SERVER_SETUP”, here is how to make it pop into view in the Finder window:

setfile -a v WEB_SERVER_SETUP

Note: you must have XCode installed (a developer tool) to have /usr/bin/setfile.

It is absurd that this should even be necessary. The idea of hiding files has always seemed like a really bad design decision to me. The Finder doesn’t even have a “show hidden files” option, which in my view is a data loss bug— I knew I had that folder around, but just couldn’t seem to find it (SpotLight found it for me)! It is easy enough to throw away an “empty” folder that is not empty.

Here is the command line help for 'setfile'. What it doesn’t tell you is that 'v' means “make it visible” and 'V' means “make it invisible”. And it should be 'setfile', not 'SetFile'. Buggy help.

Arne D writes that “chflags nohidden path” has the same effect as “setfile -a v path”.

View all handpicked deals...

Voigtlander MACRO APO-LANTHAR 65mm f/2 Aspherical Lens for Sony E
$999 $849
SAVE $150

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | X.com/diglloyd
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__