`$ jhead` extended to handle complex batch photo and EXIF data manipulation
GPL-3.0 License
$ jhead
extended to handle complex batch photo and EXIF data manipulation
$ jheadx fake -d {sourceDir} -s {startDateTime} -f {endDateTime}
: jheadx fakes timestamps in a directory of photos.
startDateTime
and endDateTime
.nodejs
sort such that the following are all valid orderings. Thus, to ensure the correct order, use the same number of digits for photo numbers (ie. pad with leading 0s).
[Photo-1.png,Photo-10.png,Photo-18.png,Photo-19.png,Photo-2.png,Photo-24.png,Photo-3.png,Photo-5.png,Photo-6.png,Photo-8.png]
[photo-00001.png,photo-00002.png,photo-00005.png,photo-00008.png,photo-00009.png,photo-00010.png,photo-00014.png,photo-00016.png,photo-00023.png,photo-00027.png]
$ jheadx fake -d ./img/test -s 2014-01-24-14:30 -f 2014-01-24-18:00
$ jhead matchmv -d {sourceDir} -m {matchDir} -p {renamePrefix}
: jheadx matches files from source directory to the match directory and renames the matched files in the match directory with the renamePrefix
.
Resemble.js
.O(n^2)
so it will really chug on large directories.$ jheadx restore -d {sourceDir} -r {restoreDir}
: jheadx restores EXIF from files in the source directory to any matching filenames on the restore directoryjheadx
does not come with jhead
as part of the CLI. jhead
is a peer dependency that must be installed separately. Find install instructions here or below:
sudo apt-get update && sudo apt-get install -y jhead
brew install jhead