Recursively files renaming adding creation date as suffix


To add creation/modification date at the beginning of filename, open a linux terminal and type:

for f in *; do mv — “$f” “$(date -r “$f” +%Y%m%d%H%M%S)-$f”; done

Leave a comment

Your email address will not be published. Required fields are marked *