Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an HP pen-drive that has 16GB space. If I add a file to it, and then I delete that file, the free space of that deleted file doesn't get applied. The only way I've found to see that space as available again is by deleting the partition and doing it all over again!

Why is this? Any clue?

I've used KDE Partition Manager to create the NTFS partition.

share|improve this question

4 Answers 4

up vote 21 down vote accepted

I have found that nautilus changed behaviour sometime in the last year from actually deleting files on removable media to putting them into a hidden directory named .Trash or similar in the top-level directory of the media.

This is great for "oops"es, but did catch me unawares the first time I "deleted" 2GB of a 4GB thumb and still had no extra space.

I didn't explore if Empty Trash was available or worked, I just rm -rf the offending directory.

share|improve this answer
3  
Yeah, I'm pretty sure emptying Trash works as well. In previous versions of Ubuntu, I've seen that when you "Unmount" or "Safely Remove" the drive, you'll get a prompt asking you if you'd like to really delete the files. Don't know what happened to that, though :-\ I'm running 10.04 for the record. –  Naftuli Tzvi Kay Apr 10 '11 at 4:23

To avoid all this, try using the shift+delete functionality. This way, deleted files do not go to trash. This is described in How to delete files bypassing trash

share|improve this answer

In Nautilus, use the 'Show Hidden Files' option off the 'View' menu.

You should then see the '.Trash' folder. You can now Shift+Delete that folder, freeing up the space.

share|improve this answer

I have seen this happen a couple of times; I have solved this by ejecting the USB key. Then nautilus then goes and soft of commits the changes you made to the USB stick. weird I know, but it seems to have worked for me.

share|improve this answer

protected by Community Dec 21 '13 at 19:48

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.