/auto-file-to-dir

Command line utility to batch organise numbered files in folders

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

auto-file-to-dir

Command line utility to batch organise numbered files into folders:

before:

  • [baz]fooBar 1 (buzz).txt
  • [baz]fooBar 2 (buzz).txt
  • [baz]fooBar 3 (buzz).txt
  • [baz]fooBar 4 (buzz).txt

after:

  • fooBar
    • [baz]fooBar 1 (buzz).txt
    • [baz]fooBar 2 (buzz).txt
    • [baz]fooBar 3 (buzz).txt
    • [baz]fooBar 4 (buzz).txt

Requirements

This is a node based command line tool.

Options

--help will show the full list of implemented options.

The main ones are:

  • -v for verbose output
  • -n to see the files and directories to be processed without changing anything (dry-run)

Disclaimer

This is a "scratch my itch" project in its very early version. Have a good backup if you intend to try it.