A curated set of PowerShell and BAT scripts to help developers keep their Windows systems clean, organized, and productive — without touching your dev tools or environments.
Developer-Toolkit-Scripts/
│
├── safe-cleanup/
│ ├── safe_cleanup.ps1
│ ├── safe_cleanup.bat
│ └── large_file_finder.ps1
│
├── productivity/
│ ├── open_dev_apps.bat
│ └── auto_organize_desktop.ps1
│
└── git-helpers/
└── clean_git_branches.bat
│
└── dev-utils/
└── port_killer.bat
└── projdct_cleaber.bat
│
└── LICEDNSE/
└── port_killer.bat
└── projdct_cleaber.bat
Description: Cleans system temp folder, user temp folder, Windows update cache, empties Recycle Bin, and lists large files in the Downloads folder — all while keeping your dev tools untouched.
How to Run:
-
Open PowerShell as Administrator.
-
Run the following command once to allow script execution (if blocked):
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
-
Then run:
.\safe_cleanup.ps1
Description:
Runs the safe_cleanup.ps1 script using a double-clickable .bat file.
How to Run:
-
Just double-click the file, or run from CMD:
safe_cleanup.bat
Description:
Scans the Downloads folder and lists files larger than 1GB in a file named gb_files.txt on your Desktop.
How to Run:
.\large_file_finder.ps1Description: Opens frequently used developer tools like VS Code, Git Bash, and your browser in one click.
How to Run:
-
Double-click the file or run:
open_dev_apps.bat
⚠️ Make sure paths are correct for your system.
Description:
Automatically organizes your Desktop by moving files into folders like Images, Docs, and Zips.
How to Run:
.\auto_organize_desktop.ps1Description:
Deletes local Git branches that have already been merged into main or master, except the main branches.
How to Run:
-
Open Git Bash in your repository folder.
-
Run:
./clean_git_branches.bat
- Always review script logic before running.
- These scripts are safe for developers but always make a backup before large cleanups.
- Notepad খুলো
- কোডটা কপি করে পেস্ট করো
- Save as → file name (e.g.,
CleanDevSpace.bat) - Right-click → Run as Administrator
চালানোর নিয়ম:
-
Notepad (বা VS Code) খুলে কোডটা পেস্ট করো
-
Save as → filename.ps1
-
PowerShell as Administrator ওপেন করো
-
নিচের কমান্ড চালাও:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
-
এরপর স্ক্রিপ্ট চালাও:
.\filename.ps1
⚠️ Execution policy error এড়াতে Step 4 খুব জরুরি।
MIT License
Made with ❤️ by Kamrul