A modern, user-friendly tool that scans your chosen directory for empty files and folders, and helps you clean them up safely by sending them to the recycle bin.
- Scan for Empty Files and Folders: Find all empty files and folders in the selected directory.
- Move to Recycle Bin: Send empty items to the recycle bin with confirmation.
- Empty Recycle Bin: Permanently remove all items from your recycle bin.
- Light/Dark Mode Toggle: Switch between light and dark themes as per your preference.
- Download the
EmptyCleaner-Latest.zipfile from the latest release. - Extract the ZIP file to a location of your choice.
- Navigate to the
portablefolder and runEmpty Cleaner.exedirectly. - No installation needed - you can copy this executable to any location.
For a more integrated experience with Start menu shortcuts and proper uninstallation:
- Download the
EmptyCleaner-Latest.zipfile from the latest release. - Extract the ZIP file to a location of your choice.
- Run the
EmptyCleanerSetup.exefile from the extracted folder. - Follow the installation wizard instructions.
- Launch the application from your Start menu or desktop shortcut.
If you want to modify and rebuild the application:
- Make sure you have Python 3.6+ installed on your system.
- Clone or download this repository.
- Install the required dependencies:
pip install -r requirements.txt- Build your own executable:
python build_installer.py- The new executable will be created in the
distfolder.
Run the application using one of the following methods:
Simply run the executable that's already been created:
.\dist\Empty Cleaner.exerun.bat.\run.ps1python empty_cleaner.py- Click the "Browse" button to select a directory to scan.
- Click "Scan Directory" to find empty items.
- Review the list of empty files and folders in the tabbed results panel.
- Click "Move to Recycle Bin" to safely send the items to the recycle bin.
- Use "Empty Recycle Bin" to permanently delete items in the recycle bin if needed.
- Use the appearance mode selector to switch between Dark, Light, and System themes.
To build the executable and installer yourself:
- Run the automated build script:
# On Windows with Command Prompt
build_all.bat
# With PowerShell
.\build_all.ps1-
The script will:
- Install required dependencies
- Build the standalone executable using PyInstaller
- Create an installer if NSIS is installed on your system
-
The executable will be in the
distfolder, and the installer (if created) will be in the root folder namedEmptyCleanerSetup.exe.
- All deletions are sent to the recycle bin using the send2trash library, making them recoverable unless you empty the bin.
- The application runs on Windows and requires the customtkinter, winshell, and send2trash packages.
This project is licensed under the MIT License - see the LICENSE file for details.