Re: xls command line convertion

2006-06-02 Thread Morten Welinder

is it possible to convert files using the command line?


Yes.

~/private/gnome/gnumeric/src ./ssconvert --help
Usage:
 ssconvert [OPTION...] INFILE [OUTFILE]

Help Options:
 -?, --help Show help options

Application Options:
 -v, --version  Display program version
 -L, --lib-dir=DIR  Set the root library directory
 -D, --data-dir=DIR Adjust the root data directory
 -E, --import-encoding=ENCODING Optionally specify an encoding
for imported content
 -I, --import-type=ID   Optionally specify which importer to use
 --list-importers   List the available importers
 -T, --export-type=ID   Optionally specify which exporter to use
 --list-exporters   List the available exporters
 -S, --export-file-per-sheetExport a file for each sheet if
the exporter only supports one sheet at a time.
___
gnumeric-list mailing list
gnumeric-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnumeric-list


Re: xls command line convertion

2006-06-02 Thread Jean Bréfort
Le vendredi 02 juin 2006 à 20:28 +0100, [EMAIL PROTECTED] a
écrit :
 Hi to all,
 is it possible to convert files using the command line? As if it was a cli 
 tool?
 Ex: gnumeric --tocsv file.xls
 gnumeric would open the file.xls and save it as file.csv (without ever 
 showing a
 window.
 can this be done?
 if it can't be done yet, is it possible to include such a option in a future
 release/nightly tarball?

Use ssconvert, provided in the gnumeric package:
ssconvert -I Gnumeric_Excel:excel -T Gnumeric_stf:stf_csv file.xls
file.csv

This will export the first sheet.

___
gnumeric-list mailing list
gnumeric-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnumeric-list