These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for how to clear tmp folder on the new forum.
I has run virtualmin for 2 month. Now I change server.
when i backup data I saw in tmp folder have over 200000 file.
I try to delete it by FlashFTP and command rmdir, but it too slow
Plz tell me how clear this foldel faster and set schedule auto del all file in this folder every week
thanks!
I would do it like so
cd /tmp
rm *
rm -r *
That will remove all files and folders do be carefull you are in the correect directory tho as it wont prompt you asking if your sure.
Howdy,
And yeah, deleting that many files could certainly take some time :-)
You can setup automatic deletion of temp files by logging into Virtualmin, and clicking Webmin -> Webmin -> Webmin Configuration -> Advanced, and set "Maximum age of temporary files".
-Eric