Closed retoweiss closed 6 years ago
Man könnte es so ändern:
usage: java -jar RW5toCSV.jar args
-c,--CSV output file <arg> CSV to write data, optional.
If not specified the output is <file-name>.csv in the same direcory as the input file
-r,--RW5 input file <arg> RW5 file to extract data
-t,--TXT output file <arg> text file to write comments, optional.
If not specified the output is <file-name>.txt in the same direcory as the input file
Examples:
java -jar RW5toCSV.jar -r BERNECK.rw5 -t BERNECK.text -c BERNECK.csv
java -jar RW5toCSV.jar -r dir1/dir2/BERNECK.rw5
Hast du an so was gedacht ?
Ja, zum Beispiel.
Dann muss ich nur noch machen, dass Windows/DOS Shell java.exe findet und den Classpath anpassen, dass das JAR-File gefunden wird.
Implemented in 1c3c044
Mit
java -jar RW5toCSV.jar -r scratch/1/2/BERNECK.rw5
werden jetzt
scratch/1/2/BERNECK.csv
scratch/1/2/BERNECK.txt
erzeugt.
Super, probiere es morgen aus. Danke vielmals :-)
Klappt sehr gut, Danke.
"Ein hab' ich noch..."
Weisst du eine gute Möglichkeit, den java Aufruf so zu scripten, dass ich auf einfache Art und Weise ein x-beliebiges RW5-File (in irgendeinem Directory) verarbeiten kann und das Resultat (.txt und csv Files) möglichst ins gleiche Directory zu liegen kommen.
Es muss nicht gleich eine File Explorer Action sein, ein einigermassen flexibles Commandfile würde wohl schon genügen... Hast du eine gute bzw. bessere Idee?