Bug 89744

Summary: Running CLI command on all files in directory doesn't work
Product: LibreOffice Reporter: Mikeyy - L10n HR <mihovil>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mihovil, raal
Priority: medium    
Version: 4.4.1.2 release   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description Mikeyy - L10n HR 2015-02-28 19:32:07 UTC
Try running this command from command line interface (CLI) on windows:
soffice --headless --convert-to csv:"Text - txt - csv (StarCalc)":"59,ANSI,1" *.ods

It will not work.

If you type in exact file, like:
soffice --headless --convert-to csv:"Text - txt - csv (StarCalc)":"59,ANSI,1" test.ods

It will work.

If you check almost non expistent documentation for CLI:
https://help.libreoffice.org/Common/Starting_the_Software_With_Parameters

You will notice it should support *.ods and similliar commands.
Comment 1 raal 2015-03-04 08:48:52 UTC
I can confirm with Version: 4.5.0.0.alpha0+
Build ID: f09efe39da1a2a1cf89b718bc07ed75e0da1b602
TinderBox: Win-x86@42, Branch:master, Time: 2015-02-23_22:57:28
Comment 2 Mishy 2015-03-05 09:37:48 UTC
More probably, this BUG exist on Linux as well.
However I am facing to a more serious probelm.
Giving the full filename to the source file (even if renamed to "a.docx", no space, no special characters) does not help.

"libreoffice --help"
can list all known options, but the "--convert-to pdf" will result NO output.
Even no error message!
I also tested the "--ptint-to-file" and the "--cat" option, with no results!
However ie: "--calc" and "--writer" options are working from command-line.

System : Ubuntu 14.04.2 LTS
Version: LibreOffice 4.4.1.2 40m0(Build:2)
Comment 3 Mikeyy - L10n HR 2015-03-05 18:24:21 UTC
I'm facing same problem on windows and not really sure why.
On my work win 8.1 computer, LO 4.4.1.2 I made batch file which uses this command successfuly.
Transfered same batch file on another win 7 computer, with same LO version and it's not working. Everything goes as expected, no error, it just doesn't create csv file.
Comment 4 Maxim Monastirsky 2015-07-31 11:14:34 UTC

*** This bug has been marked as a duplicate of bug 68647 ***