4/30/2009

UBUNTU (And other): Remove write-protected files from your trash

I managed to get a temporary folder that I did not have privileges to remove in my trash. If this should happen to you, you can easily remove the files the following way.

Start up a terminal, and type:

cd ~/.local/share/Trash/files

Type ls -a to show all the files in the trash.

You can the remove one file with...

sudo rm FILENAME

... Or a folder with..

sudo rm -rf FILENAME

... Or if you want to remove everything in the folder

sudo rm -rf *

That should do the trick.

Inga kommentarer:

Skicka en kommentar