exif-datify
v0.0.10
Published
CLI to rename files with date and time information from Exif data
Downloads
4
Readme
exif-datify
CLI to rename files with date and time information from Exif data
Usage
$ npm install -g exif-datify
$ exif-datify COMMAND
running command...
$ exif-datify (--version)
exif-datify/0.0.10 darwin-arm64 node-v18.17.1
$ exif-datify --help [COMMAND]
USAGE
$ exif-datify COMMAND
...
Commands
exif-datify dji-shift PATH
shifts the time of all files in a directory by one/two hour
USAGE
$ exif-datify dji-shift PATH [-d]
ARGUMENTS
PATH path to file or directory to process
FLAGS
-d, --dryRun dry run
DESCRIPTION
shifts the time of all files in a directory by one/two hour
See code: dist/commands/dji-shift.ts
exif-datify help [COMMANDS]
Display help for exif-datify.
USAGE
$ exif-datify help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for exif-datify.
See code: @oclif/plugin-help
exif-datify rename PATH
rename files with date and time information from Exif data
USAGE
$ exif-datify rename PATH [-d] [-p <value>] [-e <value>] [-z <value>] [-b] [-t] [--srt] [--livePhotoInfix
<value>] [-r]
ARGUMENTS
PATH path to file or directory to process
FLAGS
-b, --skipBasename skip the basename of the file
-d, --dryRun show how files would be renamed without doing it
-e, --extensions=<value> which file extensions to process (comma separated) e.g. (mov,mp4,jpg)
-p, --prefix=<value> [default: yyyy-MM-dd_HH-mm-ss_] Format used for the prefix, see luxon documentation
-r, --recursive process directories recursively
-t, --time fallback to the time of the file when no date and time is found
-z, --zone=<value> which IANA time zone to use for the date and time information found in UTC (default is local
time) e.g. Europe/Brussels
--livePhotoInfix=<value> adds an infix to the videos of a live photo (after the date prefix and before the original
filename)
--srt rename .srt files with the same date as the video they share their name with.
DESCRIPTION
rename files with date and time information from Exif data
See code: dist/commands/rename.ts