Home / ZER0 Vault / ZERO Auto-Cleaner
Temp File Cleaner for Windows and Linux: Free Up Disk Space Fast
Delete temporary and cache files to free up disk space.
Short link to share: zeroupdates.org/cleaner
What it does
Empties temporary and cache folders. On Windows that is your user Temp folder, the system Temp folder and the Internet cache. On Linux it is ~/.cache and /tmp. It prints how much space it freed. Documents, photos and downloads are not touched.
How to use it
- Install Python 3.
- Close your browser and other apps first, so fewer files are locked.
- Run the script and wait for the total to appear.
- Restart the computer if you like.
Requirements
Python 3. No extra libraries.
Good to know
- Deleted files do not go to the Recycle Bin. They are gone.
- Files in use are skipped.
- Apps rebuild their caches afterwards, so the first launch can be a little slower and you may be signed out of some apps.
- The amount of space you free depends entirely on your machine. Some people free a few GB, others only a few MB.
- On Linux, only use it when you know what
/tmpis being used for on your machine.
Is it safe?
Read the script first: it is plain text and takes a minute. Only run files you trust, and check the SHA-256 below matches what you downloaded.
SHA-256 of ZERO-Auto-Cleaner.py:
79769eb6386881b690bd9b3d3776f7124767793476c4ce200573133115082d84
On Windows: certutil -hashfile ZERO-Auto-Cleaner.py SHA256. On macOS or Linux: shasum -a 256 ZERO-Auto-Cleaner.py.
Made by ZER0 Updates and provided as is, with no warranty. You are responsible for how you use it. Back up anything important before running a tool that changes or deletes files.
More tools
- ZERO Bulk Image CompressorShrink a whole folder of JPG, PNG and WebP pictures in one run, with three quality levels.
- ZERO PDF MergerJoin every PDF in a folder into one file, offline.
- ZERO Bulk File OrganizerRename messy files and sort them into Images, Videos, Music and Documents folders.
- ZERO PC OptimizerA small Windows script that clears temp files, flushes DNS and switches to the High Performance power plan.
- ZERO Folder LockerHide a private folder behind a simple password prompt.
- ZERO WiFi Password RevealerShow the passwords of Wi-Fi networks your Windows PC has already saved.
- ZERO WiFi Password ViewerPython version of the Wi-Fi password viewer: lists saved networks on Windows and Linux.
- ZERO Playlist to MP3Turn a YouTube playlist or single video into numbered MP3 files using yt-dlp.
- ZERO Subtitle DownloaderFind English subtitles for the video files in a folder, using the subliminal library.
- ZERO Unfollower TrackerSee who you follow on Instagram that does not follow you back, using your own data export. No login.
- ZERO Duplicate File FinderFind identical files in a folder and optionally move the extra copies aside. Nothing is deleted.
- ZERO Password GeneratorMake strong random passwords on your own computer. Nothing is saved or sent.
- ZERO File Hash CheckerCheck that a download is exactly the file the publisher meant you to get.
- ZERO QR Code MakerTurn a link, some text or your Wi-Fi details into a QR code image.
- ZERO Bulk RenamerRename lots of files at once, with a preview first and an undo.
- ZERO Folder Size ReportSee which folders and files take up the most space on your drive.