Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- rm -f *.pdf
- rm -f *.png
- COMMIT=$(git rev-parse HEAD)
- for f in *.drawio
- do
- /Applications/draw.io.app/Contents/MacOS/draw.io --export --all-pages --output $f.pdf $f
- /Applications/draw.io.app/Contents/MacOS/draw.io --export --all-pages --output $f.png $f
- cp $f.pdf history/$f.${COMMIT::8}.pdf
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement