Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 18, 2012, 04:11 AM   #1
mavis
macrumors 68040
 
mavis's Avatar
 
Join Date: Jul 2007
Location: Tokyo, Japan
Send a message via AIM to mavis Send a message via MSN to mavis
Remove .trashes and Spotlight folders?

Does anyone here know how to remove the hidden folders Mac OS X creates on thumbdrives, namely the .trashes folder and Spotlight folder? I'm trying to update my Japanese TV using a flashdrive, but it's complaining about the software update not being the only thing on the drive. I've reformatted twice and the only thing other than the software update file are those folder OS X creates automatically. I don't have a Windows machine to connect to, so what other ways are there to delete those hidden, system folders?
__________________
27" iMac | 13" MacBook Air | AEBS | ATV3
64GB iPad 3 | 64GB iPhone 5 | 4G iPod touch
mavis is offline   0 Reply With Quote
Old Aug 18, 2012, 06:27 PM   #2
mavis
Thread Starter
macrumors 68040
 
mavis's Avatar
 
Join Date: Jul 2007
Location: Tokyo, Japan
Send a message via AIM to mavis Send a message via MSN to mavis
Judging from the lack of replies, I'm guessing this can only be done in Windows?
mavis is offline   0 Reply With Quote
Old Aug 18, 2012, 07:59 PM   #3
xBlue
macrumors newbie
 
Join Date: Jun 2012
The way I take care of that is by having BlueHarvest installed. It also removes the Thumbs.db (Windows) and other annoying files and folders. There are other alternatives as well.
xBlue is offline   0 Reply With Quote
Old Aug 18, 2012, 08:04 PM   #4
old-wiz
macrumors 604
 
Join Date: Mar 2008
Location: West Suburban Boston Ma
I remember reading a thread talking about how to do this, but can't for the life of me remember how to do it. Try searching the forum..should be possible to find it...can't be more than a few months back.
old-wiz is offline   0 Reply With Quote
Old Aug 18, 2012, 08:24 PM   #5
plinden
macrumors 68040
 
plinden's Avatar
 
Join Date: Apr 2004
Open Terminal, type cd /Volumes/<your thumb drive> and type:

rm -rf ._.Trashes .Trashes/ .Spotlight-V100/ .fseventsd/

Eject and use the thumb drive. The next time you plug in the drive those items and folders will be recreated
plinden is offline   2 Reply With Quote
Old Aug 19, 2012, 09:08 PM   #6
mavis
Thread Starter
macrumors 68040
 
mavis's Avatar
 
Join Date: Jul 2007
Location: Tokyo, Japan
Send a message via AIM to mavis Send a message via MSN to mavis
Quote:
Originally Posted by plinden View Post
Open Terminal, type cd /Volumes/<your thumb drive> and type:

rm -rf ._.Trashes .Trashes/ .Spotlight-V100/ .fseventsd/

Eject and use the thumb drive. The next time you plug in the drive those items and folders will be recreated
That did the trick. Thank you for your help!
mavis is offline   0 Reply With Quote
Old Aug 19, 2012, 10:31 PM   #7
dcorban
macrumors 6502a
 
Join Date: Oct 2007
Since Leopard, OS X comes with a utility called dot_clean. Just open terminal and run dot_clean to see the parameters.
__________________
The Americans can always be trusted to do the right thing, once all other possibilities have been exhausted.
dcorban is offline   0 Reply With Quote
Old Aug 20, 2012, 11:28 AM   #8
plinden
macrumors 68040
 
plinden's Avatar
 
Join Date: Apr 2004
Quote:
Originally Posted by dcorban View Post
Since Leopard, OS X comes with a utility called dot_clean. Just open terminal and run dot_clean to see the parameters.
dot_clean doesn't get rid of .Trashes and the other OSX created files and directories. In this case it will just merge ._.Trashes with .Trashes
plinden is offline   0 Reply With Quote
Old Aug 31, 2012, 04:56 PM   #9
dcorban
macrumors 6502a
 
Join Date: Oct 2007
I specifically used dot_clean to remove the trash files from my SD card. I have a cheap DS flash cart that, for whatever reason, continues to show files and folders I have deleted in its menu. I guess the menu shows hidden files and scans the entire card without regard. I have used dot_clean many times to remove the trash folder and its contents. I didn't do anything fancy, and it did remove the trash files and folders.
__________________
The Americans can always be trusted to do the right thing, once all other possibilities have been exhausted.
dcorban is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:57 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC