Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Convert .csv to Excel file using bash shell script

I’m trying to convert a .csv file to Excel using unix shell script. Tried the below script but it didn’t work.

./csv2xls -csv-file-name="file1.csv" -xls-file-name="file1.xls" -csv-delimiter="|"

I tried using the below script to convert csv to unix format

dos2unix file1.csv

Not sure how to convert it to Excel format.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Can anyone guide how to convert this using bash shell script?

Thank in advance!

>Solution :

You can simply can use ssconvert

ssconvert file1.csv file1.xlsx
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading