Search for both CR2 and CR3 formats

master
Emil Miler 4 years ago
parent 58fbd42982
commit dbfb82761f

@ -1,7 +1,7 @@
#!/bin/sh
# get total number of files
N=`ls -1 *.CR2 2>/dev/null | wc -l`
N=`ls -1 *.CR[23] 2>/dev/null | wc -l`
if [ $N != 0 ]; then
# mkdir
@ -12,7 +12,7 @@ if [ $N != 0 ]; then
# move files
echo "Moving $N files."
mv *.CR2 raw/
mv *.CR[23] raw/
else
echo "No files found."
fi

Loading…
Cancel
Save