WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Folder Organizer CLI is a simple command-line tool written in TypeScript that automatically organizes files in a given folder into categorized subfolders like Images, Documents, Videos, and more based on file extensions

License

Notifications You must be signed in to change notification settings

Aaqilyousuf/folder-organizer-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📁 folder-organizer

npm version npm downloads License: MIT

A simple CLI tool to automatically organize files in a folder based on their extensions — built with TypeScript.


✨ Features

  • 📦 Organizes files into folders like Images/, Documents/, Videos/, etc.
  • 🔍 Scans a given folder path
  • 🪄 Creates directories if they don't exist
  • 🗃️ Moves files based on common extensions
  • 🧑‍💻 Written in TypeScript, bundled with tsup

🚀 Installation

Globally via NPM:

npm install -g folder-organizer

Or use it directly without installing

npx folder-organizer <path-to-folder>

🛠️ Command-line Options

Flag Description
--verbose Enables detailed logs of the file organization process.
--dry-run Simulates the organization process without actually moving any files.
🛠️ Usage
folder-organizer <path-to-folder>
# Organize with detailed logs
folder-organizer /path/to/your/folder --verbose
# Preview actions without actually moving files
folder-organizer /path/to/your/folder --dry-run
# Combine both
folder-organizer /path/to/your/folder --verbose --dry-run
Example
folder-organizer <path-to-folder>

Demo of folder-organizer


GitHub Stars

About

Folder Organizer CLI is a simple command-line tool written in TypeScript that automatically organizes files in a given folder into categorized subfolders like Images, Documents, Videos, and more based on file extensions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published