• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision85ca4f584d477c6e6c7c3cf8005b93423f2c280d (tree)
Zeit2022-03-31 19:21:28
AutorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

A script to convert ods files to xlsx files.

Ändern Zusammenfassung

Diff

diff -r 1f8c332e2789 -r 85ca4f584d47 Bash-scripts/convert_ods_to_xlsx.bash
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Bash-scripts/convert_ods_to_xlsx.bash Thu Mar 31 12:21:28 2022 +0200
@@ -0,0 +1,40 @@
1+#!/bin/bash
2+
3+# #convert pdf to png
4+
5+# FILES="*.pdf"
6+
7+# for F in $FILES
8+
9+# do
10+# newname=`basename "$F".pdf`
11+# echo $newname
12+# pdftoppm "$F" -rx 300 -ry 300 "$newname.png"
13+
14+# done
15+
16+
17+
18+FILES="*.ods"
19+
20+for F in $FILES
21+
22+do
23+newname=`basename "$F"`
24+echo $newname
25+# pdftoppm "$F" -rx 300 -ry 300 "$newname.png"
26+soffice --convert-to xlsx --outdir text_conversion/ $newname
27+done
28+
29+
30+
31+# FILES="*.xlsb"
32+
33+# for F in $FILES
34+
35+# do
36+# newname=`basename "$F"`
37+# echo $newname
38+# # pdftoppm "$F" -rx 300 -ry 300 "$newname.png"
39+# soffice --convert-to csv --outdir text_conversion/ $newname
40+# done