Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index

2015-05-27 15:15 GMT+02:00 Gary Dale <>:

Put that into a script or a link to a script in your "Autostart" folder
(.kde/Autostart on my KDE system).

To open all the files in a folder, just use a loop like this:
  for f in *; do; libreoffice --calc -o $f; done

We don't need no stinking features when we've got a real command line.  :)

‚ÄčNitpicking, but for that you can just do:
$ libreoffice ‚Äč*.ods

The -o is only needed if you want to open template for edition, and --calc
is redundant if the file are spreadsheet :)
(also, this will be noticeably more efficient: your for loop start a new
process for every file, which can lead to race condition and stuff).

This is only if your shell is up to the task though. On windows, using
wildcard like * doesn't work with libreoffice. You can still open multiple
file with a single command by passing them one after another. But, on
windows, you also have to pass the full soffice.exe path to the command
line as it is not in the path :\

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.