Ubuntu – Deleting contents of ~/.local/share/Trash/expunged …

deletedisk-usagepermanent-deletetrash

Is there a safe way of deleting contents of ~/.local/share/Trash/expunged ? I see It has lots of files & folders I had deleted — from the trash as well. They are taking a lot of disc space.

After deleting the files & clearing the trash why are the files still there ?

I haven't tried it yet but is it ok to manually delete them ?

  sudo rm -rv ~/.local/share/Trash/expunged

Best Answer

Files can be stuck in ~/.local/share/Trash/expunged when you delete from Nautilus a folder that belongs to you, but contains files which are belong to another user, and it is tricky for Nautilus to handle this situation correctly. To delete them try to use:

sudo -i
rm -rv /home/<your_username>/.local/share/Trash/expunged/*
exit
Related Question