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:
commit
92f6dea81c
2 changed files with 28 additions and 0 deletions
20
export.sh
Executable file
20
export.sh
Executable 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
8
export_ignore.txt
Normal 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
|
Loading…
Reference in a new issue