Add spinner to photobydate
This commit is contained in:
parent
84cb259930
commit
d99638ed40
|
@ -157,13 +157,16 @@ suffix() {
|
||||||
|
|
||||||
alias exifcopy="exiftool -tagsFromFile"
|
alias exifcopy="exiftool -tagsFromFile"
|
||||||
photobydate() {
|
photobydate() {
|
||||||
for i in ${*:-(#i)*.(JPG|CR[23]|DNG)}; do
|
revolver start
|
||||||
if [[ -e $i ]]; then
|
for i in ${*:-(#i)*.(JPG|CR[23]|DNG)}; do
|
||||||
dir=$(exiftool -p '$DateTimeOriginal' $i | tr ':' '-' | cut -d' ' -f1;)
|
if [[ -e $i ]]; then
|
||||||
mkdir -p $dir
|
revolver update $i
|
||||||
mv ${i:r}.* $dir
|
dir=$(exiftool -p '$DateTimeOriginal' $i | tr ':' '-' | cut -d' ' -f1;)
|
||||||
fi
|
mkdir -p $dir
|
||||||
done
|
mv ${i:r}.* $dir
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
revolver stop
|
||||||
}
|
}
|
||||||
|
|
||||||
alias mkvidentify="mkvmerge --identify"
|
alias mkvidentify="mkvmerge --identify"
|
||||||
|
|
Loading…
Reference in a new issue