ignore more special characters

master
Marc Wäckerlin 8 years ago
parent 90e678ad52
commit 1282ab6d49
  1. 2
      scripts/mvfotos.in

@ -41,7 +41,7 @@ while [ $# -gt 0 ]; do
echo " --test test only" echo " --test test only"
exit 0 exit 0
else else
postfix=$(basename "$1" | tr '[:upper:]' '[:lower:]' | sed 's/[ ]/_/g') postfix=$(basename "$1" | tr '[:upper:]' '[:lower:]' | sed 's,[/ ],_,g;s,[()\[\]{}],,g')
type=${globaltype:-${postfix##*.}} type=${globaltype:-${postfix##*.}}
date= date=
if [ "${exif//${type}/}" != "$exif" ]; then if [ "${exif//${type}/}" != "$exif" ]; then

Loading…
Cancel
Save