User Tools

Site Tools


photos

This is an old revision of the document!


Storing Photos after a Vacation

The problem: you return home from a vacation and took a lot of pictures. But not with a single camera. But you now want all images in one place, in chronological order. Here is what to do.

  1. Get the images from the cameras using PTP or MassStorage copying. Store the photos into separate directories (sony and canon
  2. photograph the clock of the more precise camera (Sony) with the other camera (Canon)
  3. Use exiftool to read the EXIF date of that picture and compare it with the photographed time
  4. Adjust the time of the photos (Canon) to match the clock of the more precise clock (Sony):
    # substract 5 minutes and 2 seconds from all dates:
    exiftool -AllDates-='0:0:0 0:05:02' -overwrite_original canon/*.JPG
  5. Move Canon Panorama Images to a sepearate dir
    mkdir pano
    mv canon/ST* pano/
  6. Create an output directory out
  7. Rename all files to their creation date and move them to the out directory
    exiftool '-FileName<DateTimeOriginal' -d out/%Y%m%d-%H%M%S-canon%%-c.%%e canon/*.JPG
    exiftool '-FileName<DateTimeOriginal' -d out/%Y%m%d-%H%M%S-sony%%-c.%%e sony/*.JPG
photos.1287316628.txt.gz · Last modified: 2010/10/17 11:57 by 92.195.97.236