https://bugs.documentfoundation.org/show_bug.cgi?id=152192
--- Comment #2 from [email protected] --- Hi, I forgot to mention, if I use scalc.exe instead of soffice.exe for spreadsheets, then it is possible to give an input filepath meaning it won't bulk process any folder. The option does not have a parameter i.e. --inputfilepath, you simply put the filepath anywhere as parameter. My suggestion is to supplement this with a new --outputfilepath and explicitly add --inputfilepath so the above mentioned filepath is not "floating around". I see two different ways of using an enhanced --convert-to 1. "<path to scalc.exe>" --headless --convert-to <extension> --inputdir <dir> --outputdir <dir> *xlsx 2. "<path to scalc.exe>" --headless --convert-to <extension> --inputfilepath <filepath> --outputfilepath <filepath> Checks * outputfilepath extension should be checked against designated --convert-to extension. If so, throw exception. * check to make sure that both --outputfilepath and --outputdir is not set at the same time. If so, throw exception. * check to make sure that if --outputfilepath or --outputdir is set, then --inputfilepath or --outputdir is required. If not so, throw exception. I looked at the source code, and I am not experienced enough to make any pull request on this. -- You are receiving this mail because: You are the assignee for the bug.
