Tool for Convert XLS into CSV in UNIX

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Tool for Convert XLS into CSV in UNIX
# 1  
Old 03-30-2010
Tool for Convert XLS into CSV in UNIX

Hi

I wanted to convert some XLS files into CSV format in my UNIX box. Unix box is handling very important data which are related to data warehouse.It is fully optimized by installing minimum packages since server need more resources to handle reports generating.

Just for convert XLS files into CSV i supposed to use , JODConverter. But JODConverter runs based on OPenOffice.OpenOffice service needed to be started.

But in my Server , i can not install openoffice software .Is there any possibility to activate OpenOffice Service only?

or else can somebody recommend me to any other ways to do this?

I dont need a software to convert files. I need some thing possible to execute in command line because i wanted schedule the job via a cron job.

Thanks in Advance
Luke
# 2  
Old 06-01-2010
What comes to mind are some Perl modules: The CPAN Search Site - search.cpan.org
The tools that you mention seem somewhat resource intensive and not suitable for command line use.
Hope this helps
This User Gave Thanks to figaro For This Post:
# 3  
Old 06-01-2010
xls2csv seems to be lightweight
# 4  
Old 06-01-2010
XLS convert into CSV

Thanks for all your comments on XLS convert into CSV. Actually I couldnt find a way to do the same from perl. But luckily there is very nice java api for to handle excel files and convert into CSV .

Apache POI - the Java API for Microsoft Documents

Thanks
Luke
# 5  
Old 06-01-2010
Just to clear the record, Perl does have modules for this in the BIFF-based .xls world...although the target does seem to move on a regular basis and one could actually squeak by using XML-based modules on the more recent versions of Excel too: Cultured Perl: Reading and writing Excel files with Perl

However, thanks for the feedback on your own Java-based direction. Looks like it would work for you.
# 6  
Old 06-02-2010
Thanks all for sharing. CSV to XLS and vice versa are common operations.
# 7  
Old 06-02-2010
Quote:
Originally Posted by luke_devon
Actually I couldnt find a way to do the same from perl.
You might want to give following a chance: xls2csv - search.cpan.org

binlib has most likely also meant this script when he mentioned xls2csv.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl script to Convert XLSX or XLS files to CSV file

Hi All, I've got in a situation where I need to convert .xlsx or .xls formatted files into simple text file or .csv file. I've found many options but doing this using PERL script is the best way I believe.I'm in AIX box. Perl code should have 2 params while running. i.e perl... (1 Reply)
Discussion started by: manab86
1 Replies

2. Shell Programming and Scripting

How to convert a xls file to csv?

Hi, My requirement is to convert the xls to csv file with utf-8 conversion. Is there any way please suggest me. Thanks, Raja (4 Replies)
Discussion started by: cnraja
4 Replies

3. AIX

How to convert csv file to xls file

Hi All, I have a java program running in AIX machine which gives me the output in form of .CSV but my clients wants output in the form of .xls When I gave the command mv <filename.csv> <filename.xls> The contents of this .xls file is not exactly in seprate columns as in CSV, the contents... (1 Reply)
Discussion started by: chetu777
1 Replies

4. Shell Programming and Scripting

how to convert .xls to .csv

Hi, I have problem..How to convert .xls file to .csv.. Plz help me for this problem.. (1 Reply)
Discussion started by: varma457
1 Replies

5. Shell Programming and Scripting

how to convert XLS to CSV and DOC/RTF to TXT

Hi, i don't know anything about PERL. Can anyone help me providing PERL scripts for 1. converting XLS to CSV (and vice-versa) 2. converting DOC/RTF to TXT Thanks much Prvn (1 Reply)
Discussion started by: prvnrk
1 Replies

6. Shell Programming and Scripting

Shell convert xls to csv

Hi does anybody know how to convert xls to csv undex linux. I need only data (that is log from test, dont need any macro and so on) from xls. Any idea how to do that? Perl? shell? Could you give me any example? Thanks in advance for answer. Gracjan (4 Replies)
Discussion started by: Gracjan
4 Replies

7. Shell Programming and Scripting

converting xls file to txt file and xls to csv

I need to convert an excel file into a text file and an excel file into a CSV file.. any code to do that is appreciated thanks (6 Replies)
Discussion started by: bandar007
6 Replies

8. UNIX for Dummies Questions & Answers

Unix script to convert .csv file to.xls format

I have a .csv file in Unix box i need a UNIX script to convert the.csv files to.xls format. Its very urgent please help me. (1 Reply)
Discussion started by: moon_friend
1 Replies

9. Shell Programming and Scripting

Convert a csv file to an xls format

Hi, I have a file coming in xxx.txt(csv format) i do some work on it and i need to send out as a .xls format. Is there any way there is some code i can use in my script to convert this? I'm struggling on this. Thanks (11 Replies)
Discussion started by: Pablo_beezo
11 Replies

10. UNIX for Dummies Questions & Answers

WINDOWS to UNIX : xls to csv

Hi, I need to ftp a .xls file from WINDOWS to UNIX. When I do it, the file coversion doesn't happen(??) or UNIX doesn't recognixe this format I know not. But there will be junk values in the ftp'd file. Note: The ftp will be done by a script and I don't think we could place a WINDOWS script on... (5 Replies)
Discussion started by: preethgideon
5 Replies
Login or Register to Ask a Question