1
0
Fork 0
mirror of https://github.com/Findus23/geogebra_export.git synced 2024-08-27 19:52:14 +02:00

Erstmaliges Hinzufügen

This commit is contained in:
Findus23 2014-03-27 17:01:54 +01:00
commit 92f6dea81c
2 changed files with 28 additions and 0 deletions

20
export.sh Executable file
View file

@ -0,0 +1,20 @@
#!/bin/bash
dateiendung=$(zenity --list --width=500 --height=250 --text "Ausgabedateiformat" --title "Dateiformat" --column Dateiendung --column Beschreibung \
pdf "Dokument" \
png "Bild" \
svg "Vektorgrafik" \
emf "Windows Metafile" \
eps "Encapsulated PostScript"|rev|cut -c -3 |rev)
for x in *.ggb; do
name=$(echo $x |rev | cut -c 5- |rev)
ausgabedatei="./export/$name.$dateiendung"
echo "-----$ausgabedatei---------"
if [ ! -f "$ausgabedatei" ]
then
if ! grep -Fq "$name" export_ignore.txt
then
geogebra --export=$ausgabedatei --dpi=300 --showAlgebraInput=false --showAlgebraWindow=false --showSpreadsheet=false --showCAS=false $x
sleep 3
fi
fi
done

8
export_ignore.txt Normal file
View file

@ -0,0 +1,8 @@
analysis_beispiel_1.ggb
analysis_beispiel_2.ggb
analysis_d_hospital.ggb
dreieck_hoehenschnittpunkt.ggb
geogebra3d_1.ggb
modell_taschengeld.ggb
münzwurf.ggb
münzwurf_neu.ggb