Post
Topic
Board Beginners & Help
Re: Batch QR codes?
by
WorldOfBitcoin
on 18/12/2012, 12:19:28 UTC
so, ran into a bit of a snag


I need to number the files in the order they are processed.

-o FILENAME  write PNG image to FILENAME. If '-' is specified, the result
               will be output to standard output. If -S is given, structured
               symbols are written to FILENAME-01.png, FILENAME-02.png, ...;
               if specified, remove a trailing '.png' from FILENAME.



if I try

for x in `cat add2.txt`; do qrencode -o  -S $x.png $x; done

it does a single file named -S


ive tried

$-.png

$'-'.png

for x in `cat add2.txt`; do qrencode -o -S  $x.png $x; done

for x in `cat add2.txt`; do qrencode -S $x; done



I dont understand "If -S is given" trying to get the -01 -02 -03 ext