Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

varianc3

macrumors newbie
Original poster
Mar 17, 2012
4
0
When you delete files on a flash drive they don't actually get deleted -- not even from the file list, meaning the space is not available for use. You can empty the trash in OS X, but if you have many files on your comp and delete securely this could take minutes - hours. This is unacceptable.

This is an old annoyance that has come up both here and in the Dev community over the years. I was hoping they would fix it in Mountain Lion, but as of DP2 so far so bad. Many consider it to be a bug, others don't. This thread is for people who fall into the former category, or those who may have a workaround and aren't going to suggest we just sit around and watch the grass grow while OS X slowly secure deletes both it's trash and the flash drive's.

When I delete a file on my flash drive I want the space to be immediately available. Either by immediately securely erasing the file, or even just insecurely deleting it. I don't want there to be a (d**n) .trashes folder. Anyone have any ideas?
 

varianc3

macrumors newbie
Original poster
Mar 17, 2012
4
0
Another thread does have a command line solution:



cd /Volumes
type
Code:
ls
Your USB drive name should be listed. In my case it is JulieBackup
type
Code:
cd JulieBackup
Your usb may be named different
type
Code:
ls -la
You will see a directory called .Trashes
type
Code:
rm -rf .Trashes
or...
Code:
sudo rm -rf .Trashes
type
Code:
ls -la
 
Nov 28, 2010
22,670
31
located
Have you looked at that application recommended just one post above your post in that other thread you posted in?

While I don't use Secure Delete, maybe you can make a Terminal Shell Script or even application via Automator, that would allow you to delete a file without going via Trash. I am not versed in shell script, thus my tries were fruitless, and as I don't have that particular problem with USB flash memory thumb drives (I rarely use them), I don't have the drive to write a script/app for that.
 

thejadedmonkey

macrumors G3
May 28, 2005
9,240
3,499
Pennsylvania
There's an App I have on my G4 mini called "Secure Empty Trash" that allows you to empty the trash from just a specific volume. Maybe it'll run on Lion??
 

dgrjazz

macrumors newbie
Dec 21, 2011
1
0
The easy way.

This is going to hurt guys but the easiest way to delete items from a zip drive is to plug into a PC press delete and you are done. Pull it out (no eject required after XP) and put it back in the Mac. Sorry!

When I called Apple they blamed the zip drive.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.