file_orgnizer_cli
v1.0.1
Published
A simple and intelligent Node.js command-line tool to automatically organize files into categorized folders based on file types. Includes **undo support** for safe file management.
Readme
File Organizer CLI
A simple and intelligent Node.js command-line tool to automatically organize files into categorized folders based on file types. Includes undo support for safe file management.
Features
- Organizes files into predefined categories (Images, Videos, Documents, Music, Archives, Others)
- Creates folders automatically
- Supports undoing the last organization
- Lightweight and fast
- Fully customizable categories via
folderMapin the code
Installation
npm install -g file-organizerUsage
Organize files in a directory:
file-organizer <directory>Undo the last organization in a directory:
file-organizer <directory> --undoExample
file-organizer ./DownloadsOutput:
Moved: photo.jpg → Images/
Moved: video.mp4 → Videos/
✅ Files organized successfully!Undo:
file-organizer ./Downloads --undo
✅ Undo complete.License
MIT License
