How to create or convert to pdf files from csv files using shell script?

Hi,

Can anyone help me how to convert a .csv file to a .pdf file using shell script

Thanks

Hi ssk250,

Could you please refer the following link for same, which is unoconv utility.

DAG: unoconv: Convert between any document format supported by OpenOffice

EDIT: You may refer following thread for same too.

Thanks,
R. Singh

1 Like

If you have libreoffice , you could try this for a one-to-one copy:

$ libreoffice --headless --infilter=text --convert-to pdf file.csv

The light-blue part is optional, figure out the difference if you leave it out.

1 Like