Chris Edwards
Chris Edwards

Reputation: 484

How can I convert an Excel file on a Linux server to a delimited text file?

I am running a Linux server and one of our suppliers only knows how to send me an Excel file which I need to import into our system daily. Does anyone know of a good way to export the Excel file to a delimited file? Preferably with php or perl.

Thanks!

Chris Edwards

Upvotes: 2

Views: 1717

Answers (2)

wallyk
wallyk

Reputation: 57784

OpenOffice (or LibreOffice) has a scripting ability, alas, which I have never looked at. However, it seems it would be straightforward to open the Excel file using Calc, and then do a Save As .csv operation.

Upvotes: 1

Ondra Žižka
Ondra Žižka

Reputation: 46874

Java library POI does this quite well, with very simple API.

http://poi.apache.org/

Upvotes: 1

Related Questions