5

I copied a .xls file from mail to server. when i opened it, it is in non-readable format. At the bottom i could see "[noeol][converted]"

I need to extract the data from xls file.

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
Ramkumar
  • 113
  • 1
  • 1
  • 8

2 Answers2

5

If you're wanting to use the file from the command line, then locate and install xls2csv "reads MS-Excel file and puts its content as comma-separated data on standard output"

Alternatively, if you're wanting to open the file using a spreadsheet utility, try Apache OpenOffice.

steve
  • 21,582
  • 5
  • 48
  • 75
1

The 'gnumeric' package comes with the ssconvert command line utility that can extract, convert xls files to many formats. It's also a spreadsheet software. ssconvert input.xls ouput.csv

Vincent Achard
  • 340
  • 1
  • 5