Hi. In order to facilitate things like https://git.wiki.kernel.org/index.php/Textconv it would be very nice if --convert-to would utilise a better syntax (or an alternative option would do so): - Instead of giving --convert-to extension:filter it should be just the filter - Instead of the --outdir option it would be an --outfile (which gives the full path (including extension) of the file. - If multiple files are to be converted, than either the user should need to invoke the program multiple times, or just allow the --outfile option to be given multiple times. Most important though, it should be possible to output the results to stdout, e.g. by the typical "-" filename, i.e. --outfile=- should print the converted results to stdout. Cheers, Chris.
(In reply to Christoph Anton Mitterer from comment #0) > Hi. > > In order to facilitate things like > https://git.wiki.kernel.org/index.php/Textconv it would be very nice if > --convert-to would utilise a better syntax (or an alternative option would > do so): > > - Instead of giving --convert-to extension:filter it should be just the > filter > - Instead of the --outdir option it would be an --outfile (which gives the > full path (including extension) of the file. > - If multiple files are to be converted, than either the user should need to > invoke the program multiple times, or just allow the --outfile option to be > given multiple times. > > Most important though, it should be possible to output the results to > stdout, e.g. by the typical "-" filename, i.e. --outfile=- should print the > converted results to stdout. Sounds like some good ideas for improvements to the syntax. Please break these up into individual enhancement requests, as I can imagine people might be most interested in making certain changes (e.g. support for stdout), but not necessarily all of the listed changes at the same time. Status -> NEEDINFO
I was just starting to split that issue up, but after more consideration I think it's a bit difficult to do so. All these points depend on somehow each other. I guess it would be best if some core LibreOffice developers first decide what they actually want... i.e. a main question is, whether one invocation should allow multiple conversions to take place "at once". In principle I'd say that this would only be useful if it was then *much* faster then when invoking the program sequentially. Cheers, Chris.