diff options
-rwxr-xr-x | anondcim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ do # always use a padded number as destination filename suffix dst="$dst$file_prefix$(echo -n "0000000000$cur" | tail -c ${#total}).jpg" echo "anonymizing \"$fn\" to \"$dst\" ($cur/$total)" - [ -e "$dst" ] && { err "destination \"$dst\" for source \"$fn\" already exists, anonymization is skipped"; continue; } + [ ! -e "$dst" ] || die "destination \"$dst\" for source \"$fn\" already exists" read w h << EOF $(identify -format '%w %h' "$fn") |