clutter-cleaner is a simple and efficient Node.js script that automatically organizes your files by their extensions. Keep your folders neat and tidy with just one command!
- 📂 Automatically sorts files into folders based on their file type (extension)
- 🛡️ Ignores important project files and hidden files
- ⚡ Super fast and easy to use
- 📝 No dependencies required (uses built-in Node.js modules)
Before running:
project/
├── Organize.js
├── README.md
├── image.png
├── document.pdf
├── song.mp3
After running:
project/
├── Organize.js
├── README.md
├── png/
│ └── image.png
├── pdf/
│ └── document.pdf
├── mp3/
│ └── song.mp3
-
Clone or download this repository.
-
Place
Organize.jsin the folder you want to organize. -
Open a terminal in that folder.
-
Run:
node Organize.js
-
Watch your files get organized automatically!
- The script scans the current directory.
- For each file, it checks the extension and moves it into a folder named after that extension.
- If the folder doesn't exist, it creates it.
- Ignores itself and other important files.
This project is licensed under the MIT License.
Made with ❤️ by Shouvik Mistry