file_orgnizer_cli

1.0.1 • Public • Published

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 folderMap in the code

Installation

npm install -g file-organizer

Usage

Organize files in a directory:

file-organizer <directory>

Undo the last organization in a directory:

file-organizer <directory> --undo

Example

file-organizer ./Downloads

Output:

Moved: photo.jpg → Images/
Moved: video.mp4 → Videos/
✅ Files organized successfully!

Undo:

file-organizer ./Downloads --undo
✅ Undo complete.

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i file_orgnizer_cli

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

4.15 kB

Total Files

3

Last publish

Collaborators

  • joe0902