3
votes
1answer
191 views

Why is rm -rf ~/.Trash/* much faster than clicking “empty trash”?

On a Mac computer, when you write rm -rf ~/.Trash/* in the terminal, it almost instantly deletes all the files in the Trash. But when I click "empty trash", it takes forever to delete them all. ...
0
votes
0answers
2k views

Files on my Mac have disappeared and are not in the Trash

I had few folders where the contents are missing (Desktop, Documents, Download, Files and a few folders from Library/Application Support). I also realized that those folders are the first few in my ...
1
vote
4answers
1k views

Where do files and directories go when I run 'rm -rf folder_or_file_name' in Ubuntu 10.04?

When I delete folders or files in the Nautilus GUI, those folders/files go to Trash but where do folders/files go when I run rm -rf folder_or_file_name in terminal in Ubuntu 10.04?
2
votes
1answer
609 views

How to delete trash items using terminal?

I have some important and some unimportant items in trash. I need to delete the unimportant files from trash, but when I empty the trash, my important files are also deleted. How to delete trash ...
13
votes
5answers
3k views

Move file to Trash on Snow Leopard from Terminal

Snow Leopard allows users to "Put Back" files that were moved to the Trash from Finder. However, when I do mv <file> ~/.Trash from the command line I don't get the "Put Back" option. Is there a ...