mhaemmerle / excel-to-json

Opinionated Excel to JSON converter where nested structures can be defined on different worksheets
http://mhaemmerle.github.io/excel-to-json/
Apache License 2.0
102 stars 25 forks source link

Allow processing of multiple directories #29

Open kasparhuebener opened 9 years ago

kasparhuebener commented 9 years ago

We use the script as a self-contained .jar version and process many directories:

java -jar excel-to-json.jar Dir1 --disable-watching
java -jar excel-to-json.jar Dir2 --disable-watching
java -jar excel-to-json.jar Dir3 --disable-watching

Because of the JVM load time, the process could be streamlined if an option allows pointing multiple directories (either directly or through e.g. textfile that contains all directories):

java -jar excel-to-json.jar Dir1, Dir2, Dir3 --disable-watching