Go Back   MacRumors Forums > Apple Hardware > Mac Peripherals

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 9, 2007, 03:09 PM   #1
Piepz
macrumors member
 
Join Date: Feb 2007
Location: Riga, Latvia
How do I delete files from USB flash drive in OS X ?

Hello,
I don't know how to delete truly files from my flash drive. Whenever I press cmd+backspace or simply drag file to trash, it doesn't delete fully, i.e., space available doesn't increase on flash drive, the icon just disappears.
When I plug it in using Windows, I can see .Trash and .Spotlight<something> folders which are hidden. In .Trash I see my deleted files, but how the heck can I really delete them off my flash drive ?
This is driving me nuts.. I often just copy all my content to hard drive, format flash drive and then copy back my content..

PLEASE help me!

Thanks in advance!
__________________
iMac C2D 20" 2GB
Piepz is offline   0 Reply With Quote
Old Nov 9, 2007, 03:34 PM   #2
invasian
macrumors regular
 
Join Date: Jun 2007
Location: Houston
Send a message via AIM to invasian Send a message via MSN to invasian
yea...for some reason, there is a .trashes folder that contains a backup of the files you put in the trash. You have to delete that folder to actually free up the space.

alternatively, instead of moving it into the trash can, you can open up terminal and type rm and then just drag the files into the terminal window (-n http://tinyurl.com/2dapzl
)
__________________
SR MBP 2.2GHz C2D
invasian is offline   0 Reply With Quote
Old Nov 9, 2007, 04:11 PM   #3
CarlsonCustoms
macrumors 6502
 
Join Date: Mar 2007
You say there is a .spotlight file.. can you go to spotlight preferences and have it not index the flashdrive? That should get rid of that file at least. Other then that I just format with Disk Util. but that's not the best answer
CarlsonCustoms is offline   0 Reply With Quote
Old Nov 9, 2007, 04:26 PM   #4
slu
macrumors 68000
 
slu's Avatar
 
Join Date: Sep 2004
Location: Buffalo
Do you empty your trash after you delete the files? This should free up the space..at least it does for me on my external USB drive. But I don't have a Windows machine to see what it looks like after.
__________________
MacMini 2.3 GHz i7 / Nexus 4 / iPod classic 160 GB / iPad 2 / Nexus 7 / AppleTV2&3
slu is offline   1 Reply With Quote
Old Nov 9, 2007, 04:37 PM   #5
trainguy77
macrumors 68040
 
trainguy77's Avatar
 
Join Date: Nov 2003
Send a message via AIM to trainguy77 Send a message via MSN to trainguy77 Send a message via Yahoo to trainguy77
.trash is just that files that are in the trash. Empty the trash on the mac and it will free up the space.
trainguy77 is offline   0 Reply With Quote
Old Nov 9, 2007, 04:42 PM   #6
maxrobertson
macrumors 6502a
 
Join Date: Jun 2006
Location: Jakarta
Just empty the trash
maxrobertson is offline   1 Reply With Quote
Old Jun 17, 2008, 08:02 AM   #7
CWallace
macrumors Demi-God
 
CWallace's Avatar
 
Join Date: Aug 2007
Location: Seattle, WA
The whole point of the Trash Can - like the Recycle Bin in Windows - is to allow a user to "change their mind" and recover the information they have placed there until such time as they make the conscious decision to formally remove it by "emptying" the Trash/Recycle Bin.

That OS X extends this to USB flash drives is a benefit in my book, but YOMV.
CWallace is offline   0 Reply With Quote
Old Jun 17, 2008, 08:15 AM   #8
tuinte
macrumors member
 
Join Date: Jun 2008
This is how!

You have to empty the trash while the USB stick is plugged in. That will permanently delete the things you have deleted. No Terminal, Spotlight or anything. Just Empty Trash while the USB key is still mounted.

Michael
tuinte is offline   1 Reply With Quote
Old Jun 19, 2008, 10:47 AM   #9
MisterMe
macrumors G4
 
Join Date: Jul 2002
Location: USA
Quote:
Originally Posted by Phil A. View Post
IMO, the trash can in OS X is pretty limited: You can't choose to delete files from Finder without putting them into the Trash Can,
Not true. If you move an object to a folder holding another object with the same name, then the object already there will be deleted and replaced by the new one.

Quote:
Originally Posted by Phil A. View Post
and you can't selectively delete items from the Trash Can. This is one area where Windows is better than OS X in my mind...
Huh? The Trash is the place for objects that you want to delete. If you don't empty the Trash, then the objects there will stay there forever. However, if you don't want to delete a particular object, then remove it from the Trash. This is not a difficult concept. Mixing objects that you want to delete with those that you don't is an accident waiting to happen.
__________________
Neither a borrower nor a lender be
For loan oft loses both itself and friend
William Shakespeare from Hamlet
MisterMe is offline   0 Reply With Quote
Old Jun 22, 2008, 11:50 AM   #10
Phil A.
macrumors 68040
 
Phil A.'s Avatar
 
Join Date: Apr 2006
Location: Telford, UK
Quote:
Originally Posted by MisterMe View Post
Huh? The Trash is the place for objects that you want to delete. If you don't empty the Trash, then the objects there will stay there forever. However, if you don't want to delete a particular object, then remove it from the Trash. This is not a difficult concept. Mixing objects that you want to delete with those that you don't is an accident waiting to happen.
The flip side is the awkward one (permanently deleting selected files from the trash can) - It's not something that you'd want to do every day but there are occasions when you might, and OS X doesn't support this scenario.
The OP above is a perfect example: you want to permanently delete some files from your USB stick but can't do it without them going into the trash can first (except from a terminal window). Then you can't just delete them from the trash can - you have to empty the whole trash can.
The effect of this is you have to empty your trash to delete some files from a USB stick to free space on it - this is a side effect that shouldn't be forced upon you
__________________
Tell a man there are 300 billion stars in the universe and he'll believe you. Tell him a bench has wet paint on it and he'll have to touch it to be sure. ~Murphy's Law
Phil A. is offline   0 Reply With Quote
Old Sep 21, 2009, 12:53 PM   #11
wajmhome
macrumors newbie
 
Join Date: Sep 2009
Maybeh CWallace

Quote:
Originally Posted by CWallace View Post
The whole point of the Trash Can - like the Recycle Bin in Windows - is to allow a user to "change their mind" and recover the information they have placed there until such time as they make the conscious decision to formally remove it by "emptying" the Trash/Recycle Bin.

That OS X extends this to USB flash drives is a benefit in my book, but YOMV.
I would count that true...HOWEVER, it might be better if the mac stored the "._trash" file onto its actual hard drive instead of on our poor little USB (unless of course the hard disk is near full, in which Mac OS X would prompt you). Also, who here has any idea what is with the ".DS_Store" files are with. They are really starting to bother me as I have to remove them all the time.
wajmhome is offline   0 Reply With Quote
Old Sep 21, 2009, 01:52 PM   #12
trainguy77
macrumors 68040
 
trainguy77's Avatar
 
Join Date: Nov 2003
Send a message via AIM to trainguy77 Send a message via MSN to trainguy77 Send a message via Yahoo to trainguy77
Quote:
Originally Posted by wajmhome View Post
I would count that true...HOWEVER, it might be better if the mac stored the "._trash" file onto its actual hard drive instead of on our poor little USB (unless of course the hard disk is near full, in which Mac OS X would prompt you). Also, who here has any idea what is with the ".DS_Store" files are with. They are really starting to bother me as I have to remove them all the time.
http://en.wikipedia.org/wiki/.DS_Store

Same idea as the dekstop.ini file windows creates.
trainguy77 is offline   0 Reply With Quote
Old Jul 21, 2010, 07:49 PM   #13
sheelah007
macrumors newbie
 
Join Date: Jul 2010
deleting hidden files... all files

From Finder
Type “Disk utility” where there’s a magnifying glass
Click on drive to be deleted
Information on right will pop up
Choose “Erase” tab on top right
Click on “Erase Free Space” on bottom left of box (it will be grayed out but will work)
Zero it out!!
sheelah007 is offline   3 Reply With Quote
Old Jul 31, 2010, 04:46 AM   #14
OutSpoken
macrumors 6502a
 
Join Date: Jun 2009
Location: UK
Quote:
Originally Posted by Phil A. View Post
The flip side is the awkward one (permanently deleting selected files from the trash can) - It's not something that you'd want to do every day but there are occasions when you might, and OS X doesn't support this scenario.
The OP above is a perfect example: you want to permanently delete some files from your USB stick but can't do it without them going into the trash can first (except from a terminal window). Then you can't just delete them from the trash can - you have to empty the whole trash can.
The effect of this is you have to empty your trash to delete some files from a USB stick to free space on it - this is a side effect that shouldn't be forced upon you


Very true. it's so silly. I'm faced with this problem now...

I have just copied a file from my usb to my mac, and now I want to delete the file from my usb to free up space.... however the only way to do this as mentioned, is to move the file to the trash and empty the trash while the usb is connected.... PROBLEM.. I don't want to get rid of the other deleted files in the trash YET!

So what do I do?

Quote:
Originally Posted by sheelah007 View Post
From Finder
Type “Disk utility” where there’s a magnifying glass
Click on drive to be deleted
Information on right will pop up
Choose “Erase” tab on top right
Click on “Erase Free Space” on bottom left of box (it will be grayed out but will work)
Zero it out!!
I've just noticed this post, I'm kind of scared to try this incase I end up losing some important work files, although I understand the logic
__________________

Last edited by ergdegdeg; Jul 31, 2010 at 04:48 AM. Reason: please avoid consecutive posts by using "edit" or "multiquote"
OutSpoken is offline   0 Reply With Quote
Old Oct 9, 2010, 04:59 PM   #15
fefie.h
macrumors newbie
 
Join Date: Oct 2010
I can't seem to delete the file from the flash-drive that was given to me by a friend.

I did the trash, but got told that I can't put the files into the trash because I can't delete them. They are just simple jpeg files from my friend.

Help would be appreciated
fefie.h is offline   0 Reply With Quote
Old Oct 9, 2010, 08:42 PM   #16
MisterMe
macrumors G4
 
Join Date: Jul 2002
Location: USA
Quote:
Originally Posted by fefie.h View Post
I can't seem to delete the file from the flash-drive that was given to me by a friend.

I did the trash, but got told that I can't put the files into the trash because I can't delete them. They are just simple jpeg files from my friend.

Help would be appreciated
Huh? Are you trying to delete files while they are open in some application? If not, then what is the specific error message?
__________________
Neither a borrower nor a lender be
For loan oft loses both itself and friend
William Shakespeare from Hamlet
MisterMe is offline   0 Reply With Quote
Old Oct 10, 2010, 05:25 PM   #17
davidlv
macrumors 65816
 
Join Date: Apr 2009
Location: Kyoto, Japan
Quote:
Originally Posted by OutSpoken View Post
Very true. it's so silly. I'm faced with this problem now...
I have just copied a file from my usb to my mac, and now I want to delete the file from my usb to free up space.... however the only way to do this as mentioned, is to move the file to the trash and empty the trash while the usb is connected.... PROBLEM.. I don't want to get rid of the other deleted files in the trash YET!
So what do I do?
Suggestion, I am sure there are other solutions: Make a new folder on the USB drive, name it "Temporary" or anything you like. Move the files in the trash you want to save for a while to that new folder, leaving the ones you want to delete permanently, and then empty the trash.
__________________
MacBook Pro 15" Late 2011, 2.2GHz, 16GB Patriot RAM, 256GB Plextor M5P Xtreme SSD ; Mac Mini 2011 Base model 8GB RAM, 256GB Plextor M5S SSD
davidlv is offline   0 Reply With Quote
Old Jan 30, 2011, 04:50 AM   #18
AyreGuitar
macrumors newbie
 
Join Date: Jan 2011
Location: Wales, UK
A little trick I now use to delete files permanently from my USB stick without having to empty my Trash (makes use of the fact that copy & paste of a folder will delete EVERYTHING in the old folder - learnt this the hard way coming from PC with Windows!):
  1. Drag everything on the USB stick into a single folder (create a new folder first if necessary)
  2. Create a folder of the same name on your hard drive, eg USB
  3. Drag or Copy/Paste this new folder to your USB stick
  4. You'll get a warning: 'An older item named “USB” already exists in this location. Do you want to replace it with the newer one you’re moving?'
  5. Click 'Replace' (rather than 'Stop')
  6. You'll be left with a USB stick that has an empty folder on it and no space used up for the Trash
A bit more longwinded than I would like, but perhaps a bit less frightening for most users than using disk utility.

Also, for fefie.h, this should delete files that were read-only - which I think is the problem you're having. Right click on your file and select Get Info, then check 'Sharing & Permissions' at the bottom of the panel that opens. It'll say something like: 'You can only read' or 'You can read and write' (I'm using OS X Snow Leopard, so it may be different on your OS)

Hope this helps,

Kevin Ayre

Last edited by AyreGuitar; Jan 30, 2011 at 05:32 AM. Reason: Extra information added for specific user
AyreGuitar is offline   0 Reply With Quote
Old Feb 1, 2011, 04:36 PM   #19
Starlights
macrumors member
 
Join Date: Jan 2011
Quote:
Originally Posted by AyreGuitar View Post
A little trick I now use to delete files permanently from my USB stick without having to empty my Trash (makes use of the fact that copy & paste of a folder will delete EVERYTHING in the old folder - learnt this the hard way coming from PC with Windows!):
  1. Drag everything on the USB stick into a single folder (create a new folder first if necessary)
  2. Create a folder of the same name on your hard drive, eg USB
  3. Drag or Copy/Paste this new folder to your USB stick
  4. You'll get a warning: 'An older item named “USB” already exists in this location. Do you want to replace it with the newer one you’re moving?'
  5. Click 'Replace' (rather than 'Stop')
  6. You'll be left with a USB stick that has an empty folder on it and no space used up for the Trash
A bit more longwinded than I would like, but perhaps a bit less frightening for most users than using disk utility.

Also, for fefie.h, this should delete files that were read-only - which I think is the problem you're having. Right click on your file and select Get Info, then check 'Sharing & Permissions' at the bottom of the panel that opens. It'll say something like: 'You can only read' or 'You can read and write' (I'm using OS X Snow Leopard, so it may be different on your OS)

Hope this helps,

Kevin Ayre
Man! You are scaring me! All this much just to delete some files?
For most part i use Windows, but recently started to also use Mac - as it is, its not a simple transition (read learning curve) and now i see this post !!
Starlights is offline   0 Reply With Quote
Old Feb 1, 2011, 04:39 PM   #20
simsaladimbamba
Guest
 
Join Date: Nov 2010
Location: located
Quote:
Originally Posted by Starlights View Post
Man! You are scaring me! All this much just to delete some files?
For most part i use Windows, but recently started to also use Mac - as it is, its not a simple transition (read learning curve) and now i see this post !!
Those steps you quoted are not really necessary at least in my experience with half a dozen of flash drives using FAT32 as file system.
I simply put the files into the Trash and empty the Trash while the flash memory stick is connected. It worked for me without hiccups the last six years.

Also worth taking a look at: Helpful Information for Any Mac User by GGJstudios
simsaladimbamba is offline   0 Reply With Quote
Old Feb 1, 2011, 04:48 PM   #21
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by simsaladimbamba View Post
Those steps you quoted are not really necessary at least in my experience with half a dozen of flash drives using FAT32 as file system.
I simply put the files into the Trash and empty the Trash while the flash memory stick is connected. It worked for me without hiccups the last six years.
I agree. That process requires rearranging files on the flash drive, which may not be desired. It also assumes you want to erase everything on the drive, which may not be desired. Simply deleting what you want and emptying the trash with the drive attached should work perfectly. As a first and only post by that poster, I'm less likely to believe they know what they're doing.
GGJstudios is offline   0 Reply With Quote
Old Feb 3, 2011, 06:16 AM   #22
AyreGuitar
macrumors newbie
 
Join Date: Jan 2011
Location: Wales, UK
Quote:
Originally Posted by GGJstudios View Post
I agree. That process requires rearranging files on the flash drive, which may not be desired. It also assumes you want to erase everything on the drive, which may not be desired. Simply deleting what you want and emptying the trash with the drive attached should work perfectly. As a first and only post by that poster, I'm less likely to believe they know what they're doing.
My post was in response to Outspoken (and others) who wanted to delete files on a USB without emptying Trash (probably should have quoted). I came to this forum looking to do the same thing, and having figured out a solution myself, just thought I'd share - didn't mean to scare anybody quite the opposite
I've been using a MacBook for around 2 years now having used PCs from DOS all the way to WinXP.
__________________
Kevin Ayre Purple Wax Games
Mac, iPhone & iPad App Developer
AyreGuitar is offline   0 Reply With Quote
Old Feb 24, 2011, 08:43 AM   #23
thepyro395
macrumors member
 
Join Date: Sep 2010
Why does having the trash on my mac not deleted make my flash drive lose storage. I don't understand that.
thepyro395 is offline   0 Reply With Quote
Old Feb 24, 2011, 10:26 AM   #24
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by thepyro395 View Post
Why does having the trash on my mac not deleted make my flash drive lose storage. I don't understand that.
When you move any file to the Trash, it's not yet deleted, and it's still taking up space on the drive. Only when you empty the Trash does the space get freed up for use by other files. This is true for all drives, whether internal or external.
GGJstudios is offline   0 Reply With Quote
Old Mar 2, 2011, 02:53 AM   #25
moanygit
macrumors newbie
 
Join Date: Mar 2011
This is crazy, I needed to clear a few hundred Mb from my memory stick last night and to do that I had to sit and wait for an hour while I emptied my trash on the hard drive?
And to add insult to injury, while this was going on I can't use my memory stick for anything?

I move a lot of music files around and the freedom to load/unload a memory stick quickly and easily is essential.

Why would they make it so difficult to simply delete some files from a memory stick?
is there ANY benefit to this?

Will try the terminal/disk utilities options later. But this is a MAJOR failing of MACOS imho.
moanygit is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Mac Peripherals

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Problem deleting files from USB Flash Drive lambatech iMac 2 Dec 11, 2013 07:43 AM
How to redirect download files in Safari to USB flash drive vigorito MacBook Pro 20 Mar 3, 2013 07:45 AM
USB Flash Drive - View files, see movies and play musics in one software curtschillingcs iPad Apps 6 Jul 4, 2012 04:43 PM
USB Flash Drive - View files, see movies and play musics in one software curtschillingcs iPhone and iPod touch Apps 8 Jul 4, 2012 04:22 PM

Forum Jump

All times are GMT -5. The time now is 11:23 AM.

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

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