Last active
April 26, 2018 13:07
-
-
Save billypchan/108ffa0a6b825fab85ec904adea43cb1 to your computer and use it in GitHub Desktop.
This file contains 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
## for imported photos of iPhone, after this step, screenshots and movie remains | |
exiftool -d %Y%m%d/%Y-%m-%d-%Hh%Mm%S.%%e "-filename<datetimeoriginal" . | |
## for screenshots and movies of iPhone | |
for x in *.*; do | |
d=$(date -r "$x" +%Y%m%d) | |
mkdir -p "$d" | |
mv -- "$x" "$d/" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment