immediate rename of command line converted documents

Readers,

If a m$ document is stored on a public web server (E.g.
http://path.to.document.com/file.doc), is it possible to change
directly the name of the converted file which is created in the local
directory? Otherwise, 'mv' can be used after conversion, but it would
be able to rename within the LO command options, something like:

libreoffice -convert-to odt http://path.to.document.com/file.doc
-outdir ~/tmp -rename-to newfilename.odt

Hi :slight_smile:
I dunno. Could you pipe it? (or is that complicating it?)
Regards from
Tom :slight_smile:

e-letter wrote:

If a m$ document is stored on a public web server (E.g.
http://path.to.document.com/file.doc), is it possible to change
directly the name of the converted file which is created in the local
directory? Otherwise, 'mv' can be used after conversion, but it would
be able to rename within the LO command options, something like:

libreoffice -convert-to odt http://path.to.document.com/file.doc
-outdir ~/tmp -rename-to newfilename.odt

Once you have a document loaded into LO, you can use "Save as" to change
the name and even format.

Am aware. To clarify, the usage scenario is to perform this task via
the command terminal, without opening the program graphical userface.