From 611b8f0372d18d937a11d25070e9d4023ce06543 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sat, 26 Nov 2016 15:51:09 +0100 Subject: merge-hdr-batch --- merge-fuse-batch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'merge-fuse-batch') diff --git a/merge-fuse-batch b/merge-fuse-batch index 1f21c55..fa29893 100755 --- a/merge-fuse-batch +++ b/merge-fuse-batch @@ -5,7 +5,8 @@ DIR=ARGV[0] i = 0 while line = STDIN.gets args = line.strip.split.join (" -f #{DIR}") - cmd = "#{BILDROEHRE}/merge -F -o mertens-fused-#{i}.jpg #{args}" + is = i.to_s.rjust(3, "0") + cmd = "#{BILDROEHRE}/merge -F -o mertens-fused-#{is}.jpg #{args}" STDERR.write "#{cmd}\n" `#{cmd}` i += 1 -- cgit v1.2.3