DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
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
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#bash
#rename
#files
#based
#date
#modified
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit