Add CR3 and DNG to default pattern of photobydate

This commit is contained in:
crater2150 2019-08-27 20:46:00 +02:00
parent 7e88028f93
commit 45af397893

View file

@ -222,7 +222,7 @@ suffix() {
alias exifcopy="exiftool -tagsFromFile"
photobydate() {
for i in ${*:-(#i)*.(JPG|CR2)}; do
for i in ${*:-(#i)*.(JPG|CR[23]|DNG)}; do
if [[ -e $i ]]; then
dir=$(exiftool -p '$DateTimeOriginal' $i | tr ':' '-' | cut -d' ' -f1;)
mkdir -p $dir