synology-image-sort
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

synology-image-sort

Simple NodeJs CLI tool to sort (media) files on a synology nas.

oclif Version Downloads/week License

Usage

$ npm install -g synology-image-sort
$ synology-image-sort COMMAND
running command...
$ synology-image-sort (-v|--version|version)
synology-image-sort/1.0.3 linux-x64 node-v12.22.1
$ synology-image-sort --help [COMMAND]
USAGE
  $ synology-image-sort COMMAND
...

Commands

synology-image-sort help [COMMAND]

display help for synology-image-sort

USAGE
  $ synology-image-sort help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

synology-image-sort move

sort files from the source directory

USAGE
  $ synology-image-sort move

OPTIONS
  -d, --destination=destination  (required) destination directory
  -e, --existing=existing        (required) existing directory
  -f, --format=format            [default: YYYY/MM.YYYY/DD.MM.YYYY] folder structure
  -h, --help                     show CLI help
  -n, --name=name                [default: DD.MM.YYYY-HH.mm.ss.SSS] file name
  -s, --source=source            (required) source directory
  -t, --tags                     enable tagging for media files. adds parent folder names as exif-tags
  -u, --unknown=unknown          (required) unknown directory

EXAMPLES
  $ synology-image-sort move -s ./source -d ./destination -u ./unknown -e ./existing
  $ synology-image-sort move -s ./source -d ./destination -u ./unknown -e ./existing -t
  $ synology-image-sort move -s ./source -d ./destination -u ./unknown -e ./existing -f YYYY/MM.YYYY/DD.MM.YYYY
  $ synology-image-sort move -s ./source -d ./destination -u ./unknown -e ./existing -n DD.MM.YYYY-HH.mm.ss.SSS

See code: src/commands/move.ts

synology-image-sort watch

watch for files in the source directory to be sorted. keep in mind that it is not recommended for folders with a huge amount of files.

USAGE
  $ synology-image-sort watch

OPTIONS
  -d, --destination=destination  (required) destination directory
  -e, --existing=existing        (required) existing directory
  -f, --format=format            [default: YYYY/MM.YYYY/DD.MM.YYYY] folder structure
  -h, --help                     show CLI help
  -n, --name=name                [default: DD.MM.YYYY-HH.mm.ss.SSS] file name
  -s, --source=source            (required) source directory
  -t, --tags                     enable tagging for media files. adds parent folder names as exif-tags
  -u, --unknown=unknown          (required) unknown directory

EXAMPLES
  $ synology-image-sort watch -s ./source -d ./destination -u ./unknown -e ./existing
  $ synology-image-sort watch -s ./source -d ./destination -u ./unknown -e ./existing -t
  $ synology-image-sort watch -s ./source -d ./destination -u ./unknown -e ./existing -f YYYY/MM.YYYY/DD.MM.YYYY
  $ synology-image-sort watch -s ./source -d ./destination -u ./unknown -e ./existing -n DD.MM.YYYY-HH.mm.ss.SSS

See code: src/commands/watch.ts

Package Sidebar

Install

npm i synology-image-sort

Weekly Downloads

20

Version

1.0.3

License

MIT

Unpacked Size

35.9 kB

Total Files

35

Last publish

Collaborators

  • afink