How to show hidden files on a USB drive or a memory card on a Mac

By

Command-Shift-Period shows the hidden files in the Finder, but not all of them. Here's what it shows on a USB stick, what it still hides, and how to see the whole list.

Open a USB stick in the Finder and press Command-Shift-Period (⇧⌘.). The Finder shows the files whose name starts with a dot, dimmed. Press it again and they’re hidden again.

It works in every Finder window at once, and it stays on until you press it again. But on a stick or a card it doesn’t show everything the Mac put there. The ._ files and the .DS_Store files stay hidden even with it on, and those are the ones a car stereo, a TV or a Windows PC shows you.

What does Command-Shift-Period show?

I tried it on a stand-in USB stick: a disk image formatted FAT32 like most sticks, named CAR USB, with a folder called Road trip and six made-up songs in it, copied from the Mac with the Finder. On the Mac it behaves like a real stick. What’s different is that plugging it in and taking it out is opening and closing a file, and Spotlight was off on that test Mac, so I turned it on for the stand-in.

Before I copied the folder, I’d opened two of the songs in QuickTime Player on the Mac. That matters, as you’ll see.

Here’s Road trip on the stick, as the Finder shows it:

The Finder showing the Road trip folder on CAR USB in list view: six MP3 audio files from 01 Morning Highway.mp3 to 06 Night Lights.mp3, 3.6 MB each

With Command-Shift-Period on, the top of the stick shows two folders it didn’t show before, .fseventsd and .Spotlight-V100, dimmed:

The Finder showing CAR USB with hidden files on: a dimmed .fseventsd folder and a dimmed .Spotlight-V100 folder above the Road trip folder

Then I opened Road trip again in a new window. Same six songs, nothing else:

The Road trip folder on CAR USB with hidden files on, still showing only the six MP3 files

But there were two more files in that folder: ._03 Coastal Drive.mp3 and ._05 Long Way Home.mp3, 4 KB each, one for each song I’d opened on the Mac. The Finder never lists them, hidden files on or off.

What stays hidden?

I did the same with a second stand-in, an exFAT stick named TV PHOTOS, with a Lake holiday folder of eight made-up photos. I’d opened one of them, IMG_2041.JPG, in Preview on the Mac, and I’d opened the folder in the Finder there.

With hidden files on, the folder on the stick shows the eight photos and nothing else:

The Lake holiday folder on TV PHOTOS in list view with hidden files on: eight JPEG images from IMG_2041.JPG to IMG_2048.JPG, between 6.2 and 6.6 MB, and no hidden files

What was really in that folder, next to the photos, was a .DS_Store, a ._.DS_Store and a ._IMG_2041.JPG.

Here’s what the Finder showed on the two sticks, with Command-Shift-Period on:

On the stickWhereShown with ⇧⌘.
.fseventsdTop of the stickYes, dimmed
.Spotlight-V100Top of the stickYes, dimmed
.Trashes, the stick’s TrashTop of the stickNo
._03 Coastal Drive.mp3, ._05 Long Way Home.mp3Next to the songsNo
._IMG_2041.JPG, ._.DS_StoreNext to the photosNo
.DS_StoreInside Lake holidayNo

So Command-Shift-Period is good for the two folders at the top of the stick. For the files next to your songs and photos, the Finder is the wrong tool: it treats them as part of the Mac and doesn’t list them.

What the Finder shows on a USB stick with hidden files onWith Command-Shift-Period on, the Finder shows the .fseventsd and .Spotlight-V100 folders at the top of the stick. It still hides the stick's Trash, the ._ files next to your files and the .DS_Store files, which other devices do show.PressCommand-Shift-PeriodShown, dimmedStill hidden.fseventsd.Spotlight-V100.Trashes._ files.DS_Store

When you’re done, press Command-Shift-Period once more. Otherwise every Finder window keeps showing the dimmed files, your Mac’s own disk too.

See the whole list with Clean Eject

Clean Eject is a Mac app I made for this. It costs $20, paid once. It lists your cards and drives, and Clean & Eject looks for every file the Mac left on one, then shows them before it removes anything.

On CAR USB it found what the Finder didn’t show:

The Clean CAR USB window: the Mac left 3 files on CAR USB (8 KB). Copies of file details, ._ files, 2 files, 8 KB. Log of file changes, .fseventsd, 1 file, 36 bytes. Spotlight search index, .Spotlight-V100, Stays: macOS protects it. An unticked box to empty this drive's Trash (2 files, 3.6 MB) and an unticked box to keep the Mac from indexing the drive

The 2 ._ files, the log in .fseventsd, Spotlight’s folder, which it leaves alone, and the stick’s Trash, with a song I’d moved there, which it only empties if you tick the box. The list shows the stand-in as “Disk image” where a real stick says what it is.

Cancel leaves everything as it is. Clean & Eject removes them and ejects the stick, so you can take it to the car.

If the Trash is why your stick looks full, the tutorial about a card that’s still full after deleting explains where those files went.

Get Clean Eject

Remove the hidden files your Mac leaves on memory cards and USB drives, the ._ and .DS_Store files a TV, a car or a Windows PC shows, then eject. When a drive won't eject, see which apps are using it and quit them.

See Clean Eject → · Read the docs · $20. See the app page for tax details.

More tutorials for my apps →

Want me to talk about your product? You can sponsor this site.