English | Russian
A powerful command-line utility to clean up bin and obj directories from your .NET projects, freeing up disk space and maintaining a clean development environment.
- 🚀 Fast and Efficient: Quickly finds and removes all
binandobjdirectories - 📊 Detailed Reporting: Shows total space freed and execution time
- 🎨 Colorful Output: Easy-to-read colored console output
- ⚡ Smart Filtering: Automatically skips
node_modulesdirectories - 📏 Size Formatting: Displays sizes in appropriate units (B, KB, MB, GB)
- Bash shell (Linux/macOS) or WSL/Git Bash (Windows)
- Basic command-line knowledge
-
Clone this repository or download the script:
git clone https://github.com/yourusername/CleanBinObj.git cd CleanBinObj -
Make the script executable:
chmod +x CleanerBinObj.sh
-
Navigate to your project directory:
cd /path/to/your/project -
Run the script:
/path/to/CleanerBinObj.sh
Or if you're in the script's directory:
./CleanerBinObj.sh
Starting search and removal of bin and obj directories...
Removing: ./MyProject/bin (1.2MB)
Removing: ./MyProject/obj (0.8MB)
=== REPORT ===
Total space freed: 2.0 MB
Total execution time: 1 seconds
Cleanup completed!
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.
[Denis Yakushev] - [dennilen@gmail.com]
