Convert xlsx to csv in Linux with command line

后端 未结 10 1335
心在旅途
心在旅途 2020-11-28 00:36

I\'m looking for a way to convert xlsx files to csv files on Linux.

I do not want to use PHP/Perl or anything like that since I\'m looking at processing several mill

10条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 01:07

    If .xlsx file has many sheets, -s flag can be used to get the sheet you want. For example:

    xlsx2csv "my_file.xlsx" -s 2 second_sheet.csv
    

    second_sheet.csv would contain data of 2nd sheet in my_file.xlsx.

提交回复
热议问题