Re: force updating using ssconvert

On Tue, 27 Oct 2009, Andreas J. Guelzow wrote:
On Wed, 2009-10-28 at 10:12 +0800, bill lam wrote:
I want to update all gnumeric xml format file to the latest version
(currently 1.9.9). I tried using ssconvert in the form
  sconvert --export-type=Gnumeric_XmlIO:sax

However it seems ssconvert will convert nothing if the input file is already
the same format as the output.  Is there any workaround apart from doing a
round trip via biff format (which I fear would change semantic content)?

When I call ssconvert as
ssconvert --export-type=Gnumeric_XmlIO:sax easter.gnumeric

It replaces the file easter.gnumeric with a new version of it (THe size
changed by a few bytes and the modification date changed.)

What happens in your case?
I test with ssconvert from v1.9.15 to convert 1.9.9 files
b1.xls is a gnumeric 1.9.9 format file with .xls filename extension
(all my gnumeric files use xls extension)

$ ssconvert -T Gnumeric_XmlIO:sax b1.xls  

// not converted as verified by zcat b1.xls|head

$ cp b1.xls b1.gnumeric 
$ ssconvert -T Gnumeric_XmlIO:sax b1.gnumeric   

// converted ok

Apparently it must use correct filename extension for force updating.

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver --recv-keys 4434BAB3

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]