![]() ![]() Give this command : -convert-to odt -outdir *.docx.cd to the directory containing the files to convert, after having created a destination directory. ![]() Once done, you will have access to a nice Bash shell running on top of the base Windows-system, and the -convert-to function will work properly, in a synchronous mode. You may have to install it first, which is quite straightforward if you follow the WSL documentation. To overcome this, a simple way is to use the Windows Subsystem for Linux (WSL) environment provided by Microsoft for its version 10 of Windows. ![]() At best, you will end with one or two files converted, but in any case, you will have to kill manually a bunch of LibreOffice processes hung in the system (twice as much as the number of files found, at first sight). It seems that all the conversions are started simultaneously, and since two instances of LibreOffice (soffice.exe) cannot run at the same time when launched from the command line, the process will never end. docx files to convert from the current directory.īut when used in the Windows Command shell, it does not work at all. For example, it is legal to use *.docx when you have a bunch of. The -convert-to function allows us to specify a set of documents by using the general wildcard syntax for files. On Windows 10 we can use a command like soffice.exe -convert-to odt my_document.docx in order to convert my_document.docx from the MS docx format to the open document format (odt). odt conversion, but the syntax and steps are the same for other formats supported by LibreOffice. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |