How do I get rid of ".Trashes"?

I deleted some stuff from my Lexar Jump Drive. In Windows, the deleted items would just go away, freeing up space on the drive. But on my Mac it creates a hidden folder called ".Trashes", which contains the deleted items, so really it doesn't free any space. I've also noticed a ".DS_Store" file when when I plug the drive into a Windows PC, which is also hidden on the Mac, taking up space.

Is there any way to deleted these files with my Mac? I'm relatively new to Macs and I don't want to have to keep switching to my PC just to delete stuff from the jump drive.

MacBook White 2GHz standard config Mac OS X (10.4.8)

Posted on Oct 30, 2006 4:44 PM

Reply
11 replies

Oct 30, 2006 5:20 PM in response to devinwe

Hi devinwe,

Windows always immediately deletes items from any removable media. The Mac OS does not. They do have a common method of creating an invisible Trash folder on each fixed volume attached. Meaning all internal and external hard drives.

Where Macs and Windows differ is that the Mac OS creates these Trash folders on all storage devices, making it possible for you to always pull something back out of the trash. So when you put something in the trash of your Jump Drive on the Mac, you then have to empty the trash to remove it, just as you would with any hard drive.

Any file or folder that begins with a period is invisible on the Mac. This is common to pretty much any Unix OS, over which OS X is built. Windows doesn't care about this rule, so you see any files in Windows that you wouldn't when viewing the drive on the Mac. You can delete them if you want, the Mac will simply recreate them every time you use it there.

A .DS_Store file is what OS X uses to remember the size, viewing option and position of a folder window. It hurts nothing to delete them, except that the window it belongs to will revert to a default display the next time it's opened.

Oct 31, 2006 6:28 AM in response to devinwe

Hmm, it should. I tested it again just to be sure and I have no problem deleting the .Trashes folder as many times as I want in Windows. Putting the flash drive back on the Mac recreates the folder and I can then again delete it on the Windows box. I can also open the .Trashes folder from Windows like any other folder and delete individual items.

I'm assuming you have Windows set to view invisible files and folders? Otherwise you wouldn't see the .Trashes folder there, either. Anyway, you should be able to just drag and drop the .Trashes folder, or any items within to the Recycle Bin.

Oct 31, 2006 10:57 AM in response to Kurt Lang

Well yeah I can delete it in Windows, but how do I get rid of it on my Mac? My point is I don't want to have to use Windows.

All I can do is search for ".Trashes" in spotlight (it doesn't show in Finder since it's hidden), I click "Reveal in Finder", and then I try to delete it ("Move to Trash" or whatever) and it tells me I can't. So it is just sitting there with junk in it, taking up space - how do I get rid of it?

Oct 31, 2006 11:10 AM in response to devinwe

Well yeah I can delete it in Windows, but how do I get rid of it on my Mac? My point is I don't want to have to use Windows.

Oh. You can't, nor is there any reason to keep trying to remove the hidden .Trashes folder. If you want to clear the space taken up by items in the trash, just empty it before you dismount the Jump Drive. Any files or folders in the trash will be deleted.

The Mac OS won't let you delete the .Trashes folder because it's considered a protected system item. But as I said, you don't need to be concerned that it's there. Once you empty the trash in the normal method, the empty .Trashes folder on the Jump Drive will only take up a few kbytes of space.

A note on the Trash for the Mac OS. Like Windows, you only see one trash bin even though it represents a collection of any and all trash bins on all mounted drives. So when you empty it, all trash folders are emptied. Meaning if you only intended to empty the trash on the Jump Drive, that won't happen. Anything in the trash of your hard drive will also be deleted. But this is no different from how Windows behaves.

Oct 31, 2006 2:16 PM in response to Keith Barkley

Hi Keith,

If I'm reading it correctly, Sheri isn't actually having a problem deleting the files, just wondering where all those "extra" non picture files are coming from. On just about all digital cameras, the format they are in is DOS/Windows. When you copy files to such a drive (flash drive, camera flash card) the Mac OS wants to create an extra file to store the resource fork data, which can't be done directly on a PC formatted drive. So in the case of a file named picture.jpg, OS X also creates a file named ._picture.jpg. That file holds the resource fork data. When you copy the actual .jpg back to your hard drive on the Mac, it automatically recombines the resource fork data.

So what Sheri seems to be upset with is all of the ._ filename files OS X creates when copying images onto her SD memory stick, thinking that they're an image of some sort when they aren't.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I get rid of ".Trashes"?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.