Created
October 16, 2017 11:07
-
-
Save breenie/6cb2ec98f32f0a074b21538f87ce4f1a to your computer and use it in GitHub Desktop.
Make iOS movie file names like Dropbox file names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| for file in *.MOV | |
| do | |
| date=$(date -r $file '+%Y-%m-%d %H.%M.%S') | |
| mv "$file" "${date}.mov" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment