modname (87B)
1 #!/bin/sh 2 3 for f in *.jpg; do 4 mv -n "$f" "$(date -r "$f" +"%Y%m%dT%H%M%S").jpg" 5 done