Answers for "bash rename files based on date modified"

0

bash rename files based on date modified

for f in *.jpg; do mv -n "$f" "$(date -r "$f" +"%Y%m%d_%H%M%S").jpg"; done
Posted by: Guest on October-30-2020

Code answers related to "bash rename files based on date modified"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language