I am try to empty the Trash, which takes forever. Most of the files have been removed, but I am left with several that will not delete, and I now get the following message:
The operation can’t be completed because you don’t have permission to access some of the items.
The folders and files that remain in Trash cannot be 'Put Back'. How can I remove these files from Trash?
In Terminal, I have typed in cd ~/.Trash
then rm -rf ~/.Trash/*
but nothing happens. How do you execute a command in Terminal? Do you hit Enter
?
I am new to OS X and have never used Terminal before, so I am very wary of how best to proceed. I would appreciate any help you can give me.
I now know that if I 'Move To Trash' individual files and empty folders, the are removable from Trash. However I still need to remove the ones already there.
rm -rf
can at worst delete all your files and make the system unusable. Be careful what you enter. What did the Terminal output when you entered the aboverm -rf ~/.Trash/*
?sudo rm -rf
? Seriously? Just two days ago an apparently more advanced user didn't bother to copy/paste a command in an answer of mine and ended up failing, and typos in this case are much more serious.