X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=rename-photos;h=eba8c0b37127201ff9af975a0209f6cd6f5e2c85;hp=20ff4316ec4a1922dda34090c4b8cc138a228d20;hb=1521f29d8e00639be5d4f667302909ff127ff8bd;hpb=c8e1ddf1aab5ea1a2d04e7534fbed8efc83b8e3e diff --git a/rename-photos b/rename-photos index 20ff431..eba8c0b 100755 --- a/rename-photos +++ b/rename-photos @@ -1,7 +1,7 @@ #!/bin/sh set -e -num=1 +num=${1:-1} if [ -n "$DEBUG" ]; then PREFIX=echo