12 lines
169 B
Bash
12 lines
169 B
Bash
#/bin/bash
|
|
ls input/ | sort | while read f;do
|
|
dta=$(zbarimg --raw --nodbus input/$f)
|
|
chunkNum=${dta/|*/}
|
|
chunkData=${dta/*|/}
|
|
echo ${chunkNum}
|
|
|
|
|
|
# >> output.dat
|
|
done
|
|
|