Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What is a way to convert a batch of .xlsx files to .xls format? I would prefer it to be a command-line solution, but anything is better than opening each manually, and manually saving in the new format.

~~Edit~~

So is there a way to get around that error?

errored: Leaking python objects bridged to UNO for reason pyuno runtime is not initialized, 
(the pyuno.bootstrap needs to be called before using any uno classes) 
python: tpp.c:63: __pthread_tpp_change_priority: 
Assertion `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' failed. 
Aborted
share|improve this question

1 Answer 1

You can use unoconv:

sudo apt-get install unoconv
ls *.xlsx | xargs unoconv -f xls

You may need to start "unoconv -l" on a differente terminal to provide the OO listener service.

share|improve this answer
    
errored: Leaking python objects bridged to UNO for reason pyuno runtime is not initialized, (the pyuno.bootstrap needs to be called before using any uno classes) python: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' failed. Aborted –  David Oneill Jan 19 '11 at 0:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.