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