organise-files
v1.0.2
Published
A CLI tool to organise files into folders based on extension, date, size, or type
Readme
File Organiser
A CLI tool to help you quickly sort your files into folders based on their extension, date created, size or type.
Installation
npm install -g organise-filesUsage
organise-files -s <source> -d <dest> -b <criteria>Options
-s, --source <dir>: (required) folder you want to organise-d, --dest <dir>: where to put organised subfolders-b, --by <criteria>: grouping criterion (defaults to type)
Criteria
extension: organise files by their extensiondate: organise files by their creation datesize: organise files by their sizetype: organise files by their type
Example
organise-files -s /path/to/source -d /path/to/dest -b extension