LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2013, 09:43 AM   #1
julienfmills
LQ Newbie
 
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21

Rep: Reputation: 2
libreoffice command line convert to xlsx


Hello everyone,

At the command line I'm converting csv files to xlsx files using:

soffice --headless --convert-to xlsx:"Calc MS Excel 2007 XML" thefile.csv

That works great. What I'd like to get a column in the spreadsheet in date format.

Is it possible?
 
Old 11-06-2013, 05:44 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
The soffice command doesn't seem to have that many options but a quick search turned up this .. if you try unoconv please let us know how you go.
 
Old 11-10-2013, 11:30 AM   #3
JSkywalker
Member
 
Registered: Aug 2007
Distribution: openSUSE
Posts: 102

Rep: Reputation: 24
hmm, i was converting from xls/xlsx to csv, but this is interesting indeed, if i ever want to convert something back to xls or xlsx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is it possible to convert txt to xlsx in command line? nouse Linux - Newbie 4 09-19-2013 03:52 AM
How to run Openoffice/Libreoffice with a macro from command line? coss_cat Linux - Software 2 01-20-2013 04:27 AM
LibreOffice .xlsx files are huge terry-duell Linux - Software 4 11-08-2012 11:12 PM
How do I convert to an Integer with the Command Line? falcon56215 Linux - Software 10 02-17-2007 01:58 PM
Convert Excel to CVS from command line? technick Linux - Software 0 12-27-2005 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration