You delete 20 GB from a USB stick, and it is still full. Or a friend’s drive shows a folder called .Trash-1000 you never made. Both come from the same rule: on a Mac and on Ubuntu, a file deleted on an external drive is not removed. It moves to a hidden Trash folder on that drive, so it can be restored, and it keeps using the drive’s space until that Trash is emptied.
Where the drive’s Trash is
| Folder at the top of the drive | Shown in your Trash | |
|---|---|---|
| Mac | .Trashes/<your user id>, for example .Trashes/501 |
while the drive is connected |
| Ubuntu | .Trash-<your user id>, for example .Trash-1000 (or .Trash/1000 if the drive has a shared .Trash folder) |
while the drive is mounted |
Your user id is the number id -u prints: usually 501 for the first account on a Mac, 1000 for the first account on Ubuntu. The folders start with a dot, so they are hidden: press ⌘⇧. in Finder, or Ctrl+H in Files on Ubuntu, to show them.
See how big it is
On a Mac (replace MyDrive with the drive’s name):
du -sh "/Volumes/MyDrive/.Trashes/$(id -u)"
If Terminal is refused, allow it in System Settings › Privacy & Security › Files and Folders › Removable Volumes.
On Ubuntu, drives are usually mounted under /media/<your user name>/:
du -sh "/media/$USER/MyDrive/.Trash-$(id -u)"
gio trash --list
gio trash --list lists everything in your Trash, the drives’ Trash included.
Empty it safely
Check first: what is there can still be restored, and emptying deletes it for good.
- Mac: connect the drive, open the Trash in the Dock, look, then Finder › Empty Trash. Finder empties the Trash of the connected drives too. A drive that is not connected keeps its Trash until next time.
- Ubuntu: connect the drive, open Trash in the Files sidebar and click Empty, or run
gio trash --empty. Both empty the Trash of mounted drives too. When you eject a drive whose Trash holds files, Files may offer to empty it first.
To empty only one drive’s Trash from the terminal, delete just that folder, and type the path carefully:
rm -r "/Volumes/MyDrive/.Trashes/$(id -u)" # Mac
rm -r "/media/$USER/MyDrive/.Trash-$(id -u)" # Ubuntu
The system makes the folder again the next time you delete something on the drive. Never run rm on the drive’s top folder or on a path with a typo in it.
FAT and exFAT drives, and other computers
Most USB sticks and SD cards use FAT32 or exFAT, which have no file owners. Both systems still make their Trash folder on them, and Windows shows .Trashes or .Trash-1000 as an ordinary folder that takes space.
A drive used on several computers can hold Trash folders of other users: .Trashes/502 from another Mac, .Trash-1001 from another Ubuntu account. Your Trash never shows them, so emptying it doesn’t free that space. Look inside first; if nothing is needed, delete that folder by name. On FAT and exFAT any user can delete it; on a Mac-formatted (APFS, Mac OS Extended) or ext4 drive it belongs to the other user, so it needs sudo rm -r with the full path.
How CleanMate does it
On a Mac, CleanMate 1.12 (all macOS features):
- Smart Scan › System › Trash on external drives lists each mounted external drive whose Trash (
.Trashes/<your user id>) holds something, by name and size, with its own checkbox. It needs Full Disk Access. Nothing is ticked by default, and cleaning empties it for good; the Trash folder itself stays. - It never touches other users’ Trash folders, read-only, network or Time Machine drives, a Trash that is (or sits behind) a symlink, or a drive whose Trash holds a file still open.
- In Large & Old Files and Space Lens, what you remove on an external drive goes to that drive’s Trash, and Undo puts it back.
On Ubuntu, CleanMate 2.7.0 (all Ubuntu features):
- Smart Scan › User & App Junk lists the Trash on USB and other drives (
.Trash-<your user id>, or your folder in a shared.Trash), each drive on its own in the desktop app. Not pre-selected; emptying deletes for good and skips any file a program still has open. - Only drives mounted for you, never read-only or network drives, never another user’s Trash and never through a symlink.
- Space Lens and Large & Old Files move what you remove on a drive to that drive’s own Trash, with Undo.
The rest of the checklist: Free up disk space on a Mac and on Ubuntu. If the Mac’s own disk shows less free space than you expect, see Purgeable space and Time Machine local snapshots. CleanMate is free and open source: download it.
The Trash that refuses to empty has more causes than the drive: Trash won’t empty or says the file is in use walks through all of them.
Items CleanMate moved from a drive’s Trash sit on the same restore lists as everything else: restoring what was cleaned.
FAQ
Can I delete the .Trashes or .Trash-1000 folder? Yes, once you have checked nothing in it is needed. It holds only deleted files, and it is made again when you next delete something on the drive.
Why does my drive look full on another computer? The other computer doesn’t empty your Trash folder, and Windows doesn’t know it is a Trash. Empty it on the computer that made it, or delete the folder.
Does formatting the drive remove it? Yes, formatting erases everything on the drive, the Trash folders included.

