Automatically sort files into directories
Probably not usable until v0.1.0.
Categorizes files by type (archive, image, audio, document, etc.) and moves them into destination directories.
Configurable via a
.declutter.yml placed in the directory to declutter. Globs supported. Theoretically, you can configure it to move files outside of the directory, and not just into subdirs.
I wrote this because I have way too much crap in my
$ npm install -g declutter
declutter [options] <directory> [...directory] Options: --dry-run Don't actually do anything [boolean] [default: false] --verbose More output [boolean] [default: false] --debug Even more output [boolean] [default: false] --version Show version number [boolean] --help, -h Show help [boolean]
declutter exports a single function which accepts two parameters; the first is the directory to operate on, and the second is an options object corresponding to the CLI's flags.
Config File Syntax
Any globs here will override the default settings, which are pulled from a swath of
foo-extension modules on npm.
git clonethis repo.
- Navigate to working copy and execute
npm run build, which runs the source through babel.
- (Optional) execute
© 2015 Christopher Hiller. Licensed MIT.