$ jhead wrapper with extended functionality to batch fix photos lacking EXIF data
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
originalTestPhotos
shell
src
testPhotos
tests
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
tsconfig.json

README.md

jheadx

Build Status

$ jhead wrapper with extended functionality to batch fix photos lacking EXIF data

New Commands

  • $ jheadx -xr {sourceDir} {restoreDir}: jheadx restores EXIF from files in the source directory to any matching filenames on the restore directory
  • $ jheadx -xf {sourceDir} {startDateTime} {endDateTime}: jheadx fakes timestamps in a directory of photos. It loops over input files setting EXIT timestamp and file modification timestamp to a sequentially increasing time linearly distributed between startDateTime and endDateTime. Helpful for restoring fake EXIF timestamps that mirror in timestamps the sorted-by-name ordering of photo files in a source directory. This provides a fake timeline that makes use of photos in libraries easier since they remain in order and are approximately accurate to the date or time block that they were taken in.

Wrapper

  • If a command doesn't match the above new commands, it is executed as a pure jhead command. Thus, jheadx is a wrapper with additional functionality.
  • You can thus alias over jheadx as jhead with the following in your .aliases or equivalent file
alias jhead=jheadx

Resources

  • jhead: "Exif Jpeg header manipulation tool" by Matthias Wandel