All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: diglloyd.com photography and WindInMyFace.com

Thank you for buying via links and ads on this site,
which earn me advertising fees or commissions.
As an Amazon Associate I earn from qualifying purchases.

Other World Computing...
B&H Photo...
Amazon
As an Amazon Associate I earn from qualifying purchases.
Get all the tools you need to upgrade the factory HDD of any 2009-2019 iMac to a larger HDD or a modern SSD.
Upgrade the memory of your 2020 iMac up to 128GB

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...

Kensington StudioDock iPad Docking Station
$450 $450
SAVE $click

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