From d35c8d29f50bf40a5e38e083c727f2601626de59 Mon Sep 17 00:00:00 2001 From: Marco Ciampa Date: Mon, 20 Feb 2017 13:07:01 +0100 Subject: [PATCH] Added small cheatsheet pdf generator script (cherry picked from commit 616ad654894b9282f1a099b9177df9a4c9c4c828) --- utils/cheatsheet/export-cheatsheet-in-pdf.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 utils/cheatsheet/export-cheatsheet-in-pdf.sh diff --git a/utils/cheatsheet/export-cheatsheet-in-pdf.sh b/utils/cheatsheet/export-cheatsheet-in-pdf.sh new file mode 100755 index 00000000..25f0c687 --- /dev/null +++ b/utils/cheatsheet/export-cheatsheet-in-pdf.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +cd ../../src/cheatsheet + +for III in *.svg +do + CHEATNAME=`basename $III .svg` + inkscape --without-gui --file=${CHEATNAME}.svg --export-pdf=$CHEATNAME.pdf +done \ No newline at end of file