mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
12 lines
492 B
Bash
12 lines
492 B
Bash
|
#!/bin/bash
|
||
|
export INKSCAPE=/Applications/Inkscape.app/Contents/MacOS/inkscape
|
||
|
|
||
|
mkdir ${TMPDIR}real
|
||
|
|
||
|
for filename in real/*.svg; do
|
||
|
#./MyProgram.exe "$filename" "Logs/$(basename "$filename" .txt)_Log$i.txt"
|
||
|
cp "$filename" $TMPDIR${filename}
|
||
|
sed -i '' 's/00ff00/808080/g' $TMPDIR${filename}
|
||
|
$INKSCAPE --export-type png --export-filename tmp/${filename}-.png -w 256 $TMPDIR${filename}
|
||
|
$INKSCAPE --export-type png --export-filename tmp/${filename}.png -w 256 "$filename"
|
||
|
done
|