ignore more special characters
This commit is contained 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
|
||||||
|
Reference in New Issue
Block a user