#!/bin/sh exiftool -d %Y-%m-%d_%H%M%S%%-c_$1 '-filename<${Exif:ModifyDate}.%e' $2 #exiftool -filename=%-.6f%.3nC.%e `ls | sort`