Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 991 Bytes

catalog.md

File metadata and controls

51 lines (29 loc) · 991 Bytes

catalog.groovy

Moves and renames JPEG files based on EXIF timestamp.

Prerequisites:

Usage:

catalog.groovy [options]

Options:

  • -h, --help

    Show usage description.

  • -s, --source

    Source directory, defaults to ./unsorted.

  • -d, --destination

    Destination root directory, defaults to ./images. Stored file name pattern is yyyy/MM/yyyyMMdd-HHmmss-[A..Z].jpg.

  • -r, --recurse

    Crawls source directory recursively, disabled by default.

  • -k, --keep

    Keeps original images in the source directory, disabled by default.

  • -a, --auto

    Enables automatic run with no user prompts, disabled by default.

  • -m, --modified

    Uses file last modified timestamp if no EXIF metadata is found, disabled by default.

  • -v, --verbose

    Verbose output, disabled by default.

Example:

catalog.groovy -s ./pictures/temp -d ./pictures/store