flipdot/imagegenerator/numbers/generatenumbers.sh

12 lines
278 B
Bash
Raw Normal View History

2024-02-04 15:47:09 +00:00
#!/bin/bash
2024-12-03 10:24:13 +00:00
#put this file in folder with number png files and run
2024-02-04 15:47:09 +00:00
2024-12-03 10:24:13 +00:00
for i in elevatorInd_5x8/*.png
2024-02-04 15:47:09 +00:00
do
echo "$i"
2024-12-03 10:24:13 +00:00
filenamewopath=$(basename -- "$i")
filename="${filenamewopath%.*}"
echo "$filename"
python ../generate.py $i -f nodered -o $filename.txt
done