This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author : Nicolas Coevoet | |
# This script read exifs informations of files and copy them to output/YEAR/MONTH/yearmonthday_hourminutesecond.ext | |
# It checks md5sum in case file with the same name is found and skip it md5sum matchs or create a new one with _<digit> if different. | |
# Dependencies are exiftool exiv2 | |
if [ ! -n "${1}" ]; then | |
echo "Usage : ./{0} src/ output/" | |
exit 1 | |
fi |