Ubuntu Hidden Files Using Up Disk Space

Ubuntu Hidden Files Using Up Disk Space

For other Ubuntu noobs like myself, I learned a valuable lesson today about deleting files as root using Nautilus.  Apparently these get placed in a special hidden folder in /root/.local/.share/.trash  and you think they are deleted but they are simply, “moved off the books” so to speak where they are no longer anywhere the normal Ubuntu Noob would be able to find them yet they eat up the same amount of disk space as if they were still in your system.  Using Nautilus as a root user simply moved the deleted files and never wiped them from the system.  In one case we racked up over 50 Gigs of space in these hidden files.

Here is the fix found in the ubuntu forums:  http://ubuntuforums.org/showthread.php?t=1490072
sudo -i

rm -rf /root/.local/share/Trash/expunged/* /root/.local/share/Trash/files/* /root/.local/share/Trash/info/*

exit

Hopefully this will help someone else who is new to Ubuntu.  Be careful how you delete your files!

Click on a tab to select how you'd like to leave your comment

Leave a Reply

*

Read more:
Using Pligg with our Teachers Idea

Pligg is an open source software that allows you to add links and then vote...

3
Joomla, Moodle, and Jomsocial

I have a new vision and in the coming weeks we will be talking with...

Macul Educational Technology Leadership Conference

http://www.macul.org/otherevents/educationaltechnologyleadershipconference/ Sponsored by MACUL and Wayne RESA June 21-22, 2010 Thurston High School 26255 Schoolcraft...

Close