"I'm running Debian. The "testing" version. My 2 gig harddrive is 100% full. I'm currently out of town so only have access via ssh. Are there any command line automatic disk cleanup utilities? Kind of what you would do in windows??? Hopefully no one replies rm *"
I do this sort of cleanup with a script that issues various rm commands. I use cron to run this script in the background once a week. You pretty much have to customize a cleanup script to your own system. For example if you wanted to get rid of all of the backup files in your system you could use:
cd /
rm *.bak -R
rm *.old -R
rm *.~ -R
You can go after the trash with:
rm /root/Desktop/Trash/* -R
rm /home/user/Desktop/Trash/* -R
You can also remove all files from certain application directories that tend to collect a lot of garbage like your web browser cache and the Gnucash log files. Check all of your applications to see if they create unnecessary backup files or log files. Then turn off the unnecessary files or delete them in a script.
Aside from deleting files you can cut down on hard drive usage by not accumulating trash in the first place. Set your web browser to delete old cache entries every day. Set up logrotate so that you only keep the log files two deep and rotate every day or two.
___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html
Steve Stites