Jump to content

App to clean temp files, etc?


ixoye777
 Share

Recommended Posts

Also in the Mandriva Control Centre--> Security & Privacy--> Privacy. That will clear some histories and caches. There's also an app called kleansweep, which uses heuristics to identify deletable files like duplicates, orphan files etc.

Edited by {BBI}Nexus{BBI}
Link to comment
Share on other sites

tmpwatch is a package that can be installed, and it runs as a scheduled job. So if you leave your system up and running a lot it would run each morning and clear the temporary files.

Link to comment
Share on other sites

The tmpwatch package has been included by default on the last few versions of Mandriva. If you don't have your system on 24/7, you can install anacron. Then anacron will run cron.daily, which will run tmpwatch for you at each boot.

Link to comment
Share on other sites

You can use shred for secure deletion of files. Alternatively, you can use dd to overwrite the free space but it creates a file, and then you have to delete this file. This can be done for overwritting stuff, you just use similar to this:

 

dd if=/dev/urandom of=/home/username/tempfile
rm /home/username/tempfile

 

by using the input of /dev/urandom, you're writing random data to tempfile, which is in effect writing random data to the free space you're overwriting. Later, the only file recoverable, would be the tempfile, but would be useless since it's random data.

 

If I'm erasing an empty hard disk, then I use shred by booting a Live CD and running on the drive as /dev/hda or /dev/sda - but you can't do this for free space, since it would completely erase your hard disk regardless of data. dd is better for free space - as my example above.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...