diff options
Diffstat (limited to 'gen.sh')
-rwxr-xr-x | gen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ CHECKSUM=`sha256sum -z blobfox.zip | awk '{ print $1 }'` | |||
22 | cd ../export_flip | 22 | cd ../export_flip |
23 | 23 | ||
24 | rm blobfoxsign*.png | 24 | rm blobfoxsign*.png |
25 | find . -type f -iname '*.png' -exec sh -c 'x=${0#./blobfox}; mv blobfox$x blobfoxflip$x' {} \; | 25 | find . -type f -iname '*.png' -exec sh -c 'x=${0#./blobfox}; mv blobfox$x revblobfox$x' {} \; |
26 | mogrify -flop *.png | 26 | mogrify -flop *.png |
27 | FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` | 27 | FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` |
28 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox_flip.json | 28 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox_flip.json |