[Libreoffice-bugs] [Bug 48413] New: : Command line bulk conversion from doc to odf not working

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 7 14:20:38 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48413

             Bug #: 48413
           Summary: : Command line bulk conversion from doc to odf not
                    working
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.1 Release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
 Status Whiteboard: BSA
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: zumbs at yahoo.com


Problem description: 

The LibreOffice executable (soffice.exe) supports a number of command line
arguments as described in
http://help.libreoffice.org/Common/Starting_the_Software_With_Parameters. The
linked document (as well as blog posts on the internet) suggests that it should
be possible to use the command line to convert all MS Word documents in a
directory to odf. However, following command line does not convert anything:

soffice.exe --headless --convert-to odf --outdir C:\Docs\Out C:\Docs\In\*.doc

If the direct path is used, e.g.

soffice.exe --headless --convert-to odf --outdir C:\Docs\Out C:\Docs\In\a.doc

the specified document is converted to a.odf and placed in the out directory.

I run Windows 7 64 bit and have LibreOffice 3.5.1.2 installed. I have made sure
that no instance of soffice is running before trying to use the command line.

Steps to reproduce:
1. Open command prompt to C:\Program Files (x86)\LibreOffice 3.5\program
2. Enter >soffice.exe --headless --convert-to odf --outdir C:\Docs\Out
C:\Docs\In\*.doc
3. The documents in C:\Docs\In are not converted.
4. Enter >soffice.exe --headless --convert-to odf --outdir C:\Docs\Out
C:\Docs\In\a.doc
5. The specified document, a.doc, is found in C:\Docs\Out.

Current behavior:
Using *.doc does not convert any documents in the input directory.

Expected behavior:
Using *.doc converts all documents in the input directory and copy the result
to the output directory. Preferably, it would also iterate through sub
directories, maintaining the directory structure in the outdir, but I'm unsure
if that is the intended behaviour.

Platform (if different from the browser): 

Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101
Firefox/11.0

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list