From 1521f29d8e00639be5d4f667302909ff127ff8bd Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 8 Oct 2015 07:25:49 +0200 Subject: [PATCH] rename-photos: add support for different starting number than 1 --- rename-photos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5