Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unix command to convert xls file into xlsx file? [closed]

I there any unix command which will convert xls file into xlsx file?

Also i have tried using mv command, it is changing the extension as well. But then i am not able to open the xlsx file.

mv .xls .xlsx

Any suggestion will be really appreciate.

like image 575
Hussain Shabbir Avatar asked Feb 03 '14 15:02

Hussain Shabbir


1 Answers

As far as I know, this is not something you can easily do with standard unix tools.

You can use LibreOffice:

libreoffice --convert-to xlsx my.xls --headless

Or maybe find an online converter and submit your file to it.

like image 92
Lev Levitsky Avatar answered Sep 30 '22 23:09

Lev Levitsky