Remove the Mac's hidden files from a card or drive, then eject it
Instead of fighting ghost ._ files in your car stereo, guessing which app locked a memory card, or ejecting dock drives one by one, Clean Eject cleans hidden macOS files, names busy apps, and ejects whole groups with one shortcut.
Buy Clean Eject · $19Buy once, use forever. Up to 3 computers you own (license). Tax included. No free trial, full refund if it's not right for you.
macOS 14 or later · Apple silicon and Intel
Latest version 1.4.1, released November 22, 2026

Without Clean Eject
- Your car stereo, TV, or Windows PC fills up with ghost ._ copies and .DS_Store files that the Finder hides from you.
- A memory card refuses to eject with "one or more programs may be using it", leaving you to guess which app to quit.
- Ejecting three drives on a desk dock means clicking them one by one every evening before pulling the cable.
- Terminal commands risk deleting your own files and still cannot tell you when Time Machine is mid-backup.
With Clean Eject
- Click Clean & Eject to review every hidden file macOS left on the drive, remove them on confirmation, and eject safely.
- See the exact app and open filename locking a drive, click Quit right in the window, and retry without guessing.
- Save your desk dock drives as a group and eject all of them from any app with ⌃⌥⌘E until every drive reads Safe to unplug.
- Get a clear notice when Time Machine is backing up, leave Mac-formatted drives untouched, and protect your own files.
Hidden Mac clutter and silent eject errors
Copy songs to a USB stick on your Mac, plug it into your car, and the stereo lists songs you never copied. They are called ._Song.mp3 and refuse to play, while TVs show broken photos and Windows PCs show .DS_Store in every folder.
Your Mac writes all of these files and hides them from you, even when you press ⇧⌘. in the Finder. When a memory card will not come out, macOS only says “one or more programs may be using it” without naming the app.
If three drives live on your desk dock, you also end up clicking eject on each one every evening before pulling the cable.
See Clean Eject in 30 seconds
- Platform
- macOS 14+
- Native Mac app for Apple silicon and Intel Macs. Runs in your menu bar and responds to a global shortcut.
- Privacy
- 100% local
- Nothing on your drives ever leaves your Mac. No accounts, no analytics, and online only to check for updates.
- Drive safety
- FAT32 & exFAT
- Cleans only verified macOS files on drives meant for other devices. APFS and Mac OS Extended drives offer Eject only.
- Pricing
- $19 one-time
- Tax included, no subscription. Signed with Apple Developer ID, notarized by Apple, and includes automatic in-app updates.
Clean a drive before it leaves your Mac
Copy your files in the Finder as usual, then open Clean Eject or click its eject icon in the menu bar. Click Clean & Eject on a FAT32 or exFAT card or USB stick, review the exact files macOS left behind grouped by kind and size, and confirm.
Nothing is deleted until you click Clean & Eject in the review window. You can also tick Empty this drive’s Trash when you want .Trashes cleared, or tick Keep the Mac from indexing this drive so Spotlight stops recreating its index on it.

Here is what Clean & Eject removes, and each kind has its own checkbox in Clean Eject → Settings…:
| In the app | On the drive | What it is |
|---|---|---|
| Folder view settings | .DS_Store | The Finder’s note of how a folder looks. It comes along with a folder you copy from the Mac |
| Copies of file details | ._IMG_0042.JPG, ._Song.mp3 | A twin of each file that has extra details on the Mac, like when it was last opened and with which app |
| Log of file changes | .fseventsd | A record of what changed on the drive, kept by the Mac |
| Temporary files | .TemporaryItems | Files apps saved for a moment while they worked |
| Saved versions of documents | .DocumentRevisions-V100 | Older versions of documents edited on the drive |
| AirPort disk file | .apdisk | Left by AirPort and Time Capsule disks |
| This drive’s Trash | .Trashes | Files you moved to the Trash from this drive. Only when you tick the box |
macOS protects .Spotlight-V100 from every app, so Clean Eject marks it as Stays: macOS protects it instead of pretending to remove it. For APFS and Mac OS Extended drives, where Mac files belong, Clean Eject offers Eject only.

See which app is locking a drive
When a card or stick refuses to eject, Clean Eject asks macOS which apps have files open on it and lists every app with the exact filename and a Quit button. Click Quit, then click Try Again so Clean Eject cleans any last hidden file the app wrote on exit before ejecting.
I tested this with a video open in QuickTime Player. macOS took between 6 and 20 seconds to refuse the eject, then the window named QuickTime Player and the video, Quit closed it, and Try Again ejected the card.

When macOS itself is holding a drive, often Spotlight indexing it, no app is listed and Clean Eject tells you to wait a few seconds and click Try Again. Force Eject… is kept last behind a clear warning about unsaved work and copies in progress.
Eject every drive on your dock at once
Under Eject Together, Everything external shows one card per physical external drive and never lists your Mac’s built-in disk. Save your regular drives as a group like “Desk Dock”, and Clean Eject remembers them by volume rather than port so plugging an SSD into another port tomorrow still works.

Before unmounting anything, Clean Eject checks open files on each drive so busy drives show Still in use with the blocking app and filename. If Time Machine is backing up to a drive, its card shows Backing up so you can wait or skip the backup, and a multi-partition drive remounts its first partition if the second one is busy.

Once every drive finishes, the window confirms you can unplug the dock and drives. Press ⌃⌥⌘E from any app even with the window closed, or trigger Eject Everything External and your saved groups from the menu bar.

In Clean Eject → Settings… → Eject, you can record your own global shortcut, pick whether it ejects everything external or one saved group, turn on Open at login, and choose whether disk images appear.

Finder vs. Clean Eject
Pressing ⇧⌘. in the Finder shows .fseventsd and .Spotlight-V100, while ._ and .DS_Store files stay hidden so you cannot even select them. Free menu bar ejectors unmount everything at once without remembering dock groups or naming the app blocking a drive.
| In the Finder | Clean Eject | |
|---|---|---|
| See the hidden files | ⇧⌘. shows two folders at the top of the drive, never the ._ and .DS_Store files | Listed by kind, with how many and how much space |
| Remove them | Nothing to select, since the Finder doesn’t list them | One click, after you confirm |
A file of yours whose name starts with ._ | Looks the same as the Mac’s | Stays: only the Mac’s are removed, checked by what’s inside |
| Spotlight’s folder | Can’t be removed | Stays, and the Mac can be told not to make it again |
| “One or more programs may be using it” | Guess which app, quit things until it works | The apps and their files, with a Quit button each |
| Three drives on a dock | Three clicks in the sidebar, or select them on the desktop | Eject 3 Drives, or ⌃⌥⌘E from any app |
| Only some of them | Pick them by hand every time | A saved group, recognized on any port |
| Time Machine backing up | “One or more programs may be using it” | “Time Machine is backing up to Backup right now” |
| Knowing when to pull the cable | Wait until each icon disappears | Safe to unplug on every drive |
- Clean & Eject with preview
Groups hidden .DS_Store, ._, .fseventsd, .TemporaryItems, .DocumentRevisions-V100, and .apdisk files by kind and size before deleting anything.
- Protects your own ._ files
Checks file contents instead of just names, so your own files starting with ._ stay safe. The drive Trash stays untouched unless you tick it.
- Names apps locking a drive
Lists every app and open filename blocking an eject, with a Quit button for each and a clean retry once the app closes.
- Saved dock groups & shortcut
Remember desk dock drives by volume instead of port, then eject everything external or a saved group with one click or ⌃⌥⌘E.
- Time Machine & partition aware
Shows when Time Machine is actively backing up instead of a vague error, and remounts the first partition if the second one is busy.
- Keep Spotlight away
Flags the macOS-protected .Spotlight-V100 folder clearly and lets you write a small empty file so Spotlight stops indexing that drive.
Who it’s for
- Drivers and families using USB sticks in cars or on TVs. Copy road-trip music or holiday photos without car stereos listing broken
._twins or TVs showing grey unsupported files between real photos. - People sharing drives with Windows PCs, print shops, or classrooms. Hand over a USB stick or open presentation slides on a projector without
.DS_Storeclutter and duplicate._files in every folder. - Photographers and video makers swapping camera cards. When a card refuses to eject after you previewed a clip or photo, see which app holds it, quit it, and get the card back in the camera.
- Laptop users with a desk dock and external drives. Save your backup drive, projects SSD, and card reader as a group, press
⌃⌥⌘Eat the end of the day, and pull the cable once every drive reads Safe to unplug.
Technical specs & requirements
- Requirements
- macOS 14 Sonoma or later on Apple silicon and Intel Macs. Signed with Flavio's Apple Developer ID and checked by Apple.
- Install & updates
- Download from your purchase page, unzip, and drag Clean Eject to Applications. Updates check automatically, or run Clean Eject → Check for Updates… and click Install and Relaunch.
- Supported drives
- Clean & Eject runs on cross-platform formats like FAT32 and exFAT. APFS and Mac OS Extended drives offer Eject only. Time Machine disks are excluded from cleaning and supported in Eject Together.
- Privacy & safety
- Nothing on your drives leaves your Mac, with no accounts or analytics. Nothing runs automatically when you plug a drive in, and removed files do not go to the Trash.
- What it does not do
- Cannot delete macOS-protected .Spotlight-V100 folders or inspect drives held by macOS itself. Never touches your system or home disk, network drives, or disk images unless Show disk images is enabled. Supports one global shortcut, with other groups available in the menu bar.
- Independence
- Clean Eject is an independent app built by Flavio. It is not made by, affiliated with, or endorsed by Apple.
- Docs & support
- Read the Clean Eject documentation for every setting and what to do when a drive will not eject.
Guides & workflows for Clean Eject
- How to empty the Trash of one external drive on a MacFiles you delete from a USB stick stay on it until the Trash is emptied, and the Trash mixes them with your Mac's own files. Here's how to tell which ones are on the stick and empty only those.
- .Spotlight-V100, .fseventsd and .Trashes: the hidden folders a Mac puts on a USB driveA Mac leaves three hidden folders at the top of every USB stick and memory card it uses. Here's what each one holds, how big they were on a test stick, which ones come back, and which ones you can remove.
- What is .DS_Store, and can I delete it from a USB drive?A TV or a Windows PC shows a .DS_Store file in your folders. Here's what the Mac keeps in it, how it ends up on a USB stick, why the Finder won't show it, and how to remove it.
- What are the ._ files on a USB drive, and how do I get rid of them on a Mac?Copy songs or photos to a USB stick on a Mac and some of them get a twin whose name starts with ._ . Here's what those files are, which files get one, why the Finder never shows them, and how to remove them.
- How to show hidden files on a USB drive or a memory card on a MacCommand-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.