Flash drive loses storage space and…

by Stii

…is driving me nuts. I noticed it the first time with my own flash drive on OS X. I delete files off it, but the storage space left keeps on getting smaller and smaller. At first I could not see why in the name of Riku Lätti it did that. I opened up the Terminal App and:

$ cd /Volume/FlashDiskName
$ ls -al

I saw there was a hidden folder called .Trash and when I did a scan of that folder I noticed it is full of old shit long time deleted. Now, for me it was cool every time going on the command line to empty the hidden trash folder, but just now Lester complained that it is not going to work so well for him :/

The solution on OS X is to enable Finder to show hidden files. Here are the steps:

Open up your Terminal.app (it can be found in Applications -> Utilities -> Terminal.app)
On the command line do the following:

$ defaults write com.apple.finder AppleShowAllFiles TRUE
$ killall Finder

Open up Finder again and go to your flash drive and you’ll see the .Trash folder. Empty the bugger.

I’m not sure why some flash drives do this. I’m not even sure if all of them do it. Maybe there is a better way somewhere out there to disable flash drives doing it. If you know of some way, let us know!