From: Martin Pitt Date: Thu, 8 Oct 2015 05:25:49 +0000 (+0200) Subject: rename-photos: add support for different starting number than 1 X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=1521f29d8e00639be5d4f667302909ff127ff8bd;p=bin.git rename-photos: add support for different starting number than 1 --- 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