Camera to Archive Workflow: Difference between revisions
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
=Workflow= | =Workflow= | ||
*Copy folder with pictures to working directory ( | *Copy folder with pictures to working directory (e.g. My Documetns\My Pictures\ToFile\) | ||
*Find difference between camera time and real time | *Find difference between camera time and real time | ||
*Correct both EXIF times in JPG files and file times for all other files. | *Correct both EXIF times in JPG files and file times for all other files. (Exifer or Exiftool) | ||
*Rename files based on creation | *Rotate images (Exifer) | ||
* | *Remove Unwanted pictures | ||
*Rename files based on creation date + sequence number (e.g. 2008-01-01-0001.jpg) | |||
*Move to archive directory | *Tag images and move to folders (EXIFER) | ||
*Move to archive directory on YM (Y:\Picutres) | |||
=Notes= | =Notes= | ||
Revision as of 03:03, 25 August 2008
Workflow
- Copy folder with pictures to working directory (e.g. My Documetns\My Pictures\ToFile\)
- Find difference between camera time and real time
- Correct both EXIF times in JPG files and file times for all other files. (Exifer or Exiftool)
- Rotate images (Exifer)
- Remove Unwanted pictures
- Rename files based on creation date + sequence number (e.g. 2008-01-01-0001.jpg)
- Tag images and move to folders (EXIFER)
- Move to archive directory on YM (Y:\Picutres)
Notes
How to change the EXIF dates in a file
Add 2 minutes 30 seconds: exiftool -r -Alldates+=0:2:30 .
How to change the date of a file
touch -r somefile.avi -d "-1 hour +3 minutes -5 second" somefile.avi
How to change the filename using EXIF tags
exiftool -r "-FileName<DateTimeOriginal" -d %Y%m%d_%H%M%S%%-c.%%e .
How to change the filename using stat(1) command
for fn in *.avi ; do nn=$(stat --printf=%y $fn | sed -e 's/\..*//' -e 's/ /_/ ' -e 's/[-:]//g') ; echo mv $fn $nn.avi ; done
Tools
- Exifer is a discontinued product but quite good. I am still evaluating other tools as recommended on his site as well as others.
- Cygwin is a source for bash, touch, and stat commands.
- Exiftool is a command line tool written in Perl but with command line versions. Any version should work but the one used writing these notes is this one.