Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSV to XLS linux script

Tags:

linux

csv

excel

xls

I need a script to convert a comma seperated csv file to an excel xls file. I tried a python script online but i couldn't install the correct version of python to install a mod/dependency the script required. What is the best solution?

like image 249
The Digital Ninja Avatar asked May 28 '09 17:05

The Digital Ninja


People also ask

How do I convert a CSV file to Excel without opening it?

In Excel 365, Excel 2021, Excel 2019 and Excel 2016, you can import data from a text file by connecting to it with the help of Power Query. Here's how: On the Data tab, in the Get & Transform Data group, click From Text/CSV. In the Import Data dialog box, select the text file of interest, and click Import.

How do I convert XLS to CSV in Unix?

Gnumeric Spreadsheet Program To install Gnumeric in Linux use the apt-get command to install the Gnumeric repository via Linux terminal. Now to convert xlsx format to csv format using ssconvert command of Gnumeric to convert the file. To view the contents of the file using the cat command to check the csv file.


1 Answers

cheat: rename data.csv to data.xls. excel opens it and you never notice the difference

like image 105
Javier Avatar answered Sep 19 '22 01:09

Javier