I want to convert a spreadsheet (e.g. .xls or from LibreOffice Calc) to some text format, e.g. .csv, without evaluating formulas so the formulas are stored in the text file. I know that LibreOffice has an option "Save cell formula instead of…
I have installed Gnumeric in CentOS 6.5, then use ssconvert command to convert .xls/.xlsx file to CSV, but I still get the following error:
$ ssconvert
GConf Error: Failed to contact configuration server; some possible causes are that you…
I'm converting an XLSX file to a CSV file with ssconvert inside a script. But I stumbled upon a problem that occurs, when cells contain manual line breaks. Those are kept inside the text as newline-characters, and so the converted csv file is…
I have problems with the ssconvert. The input is a tab-separated tsv-file that should be converted to xls (not xlsx), but the output combines some on the columns into one long string. Any ideas?
I am converting a file from csv file to an xlsx file using the following command
/usr/bin/ssconvert --import-type=Gnumeric_stf:stf_csvtab --export-type=Gnumeric_Excel:xlsx --import-encoding=UTF8 sample.csv sample.xlsx
The content of sample.csv…
I'm trying to convert XLS(X) files to csv on a RHEL server and have learned about gnumeric which includes ssconvert. I've done testing on a lab VM to make sure ssconvert works for what I need. However, I want to know if there is a way to install…
The below command works perfectly fine in command line mode
find . -maxdepth 1 -name "*.xlsx" -exec ssconvert {} --export-type=Gnumeric_stf:stf_csv \;
But while adding the same in a Bash script file after SFTP download code, it isn't executing.…
I'm attempting to grab a text file from a folder for conversion to .xls using ssconvert. Currently I have:
for /F %%a in ('dir /b *.txt') do set FileName=%%~na
ssconvert %FileName%.txt %FileName%.xls
However this results in this being…
I am creating .txt file from .xlsx file using ssconvert command. But issue is not being able to maintain data format in output .txt file - is appearing something else.
Please help me to fix the ssconvert command so that I can get the same date…
I have a BIRT report with multiple tables with different datasets and number of columns on it. I generate output in .xls and convert into .csv using ssconvert utility on Unix. But in the .csv file I see extra delimiter for tables where there are…
I want to use ssconvert from Gnumeric to convert an Excel file to .txt file. The command should be:
ssconvert -O 'separator= ' excel.xlsx result.txt
However, it doesn't insert ' ' between cells. For example A B is written as AB.
How can I fix…
I want to copy all .xls files only from the INBOUND folder to the target folder and convert all .xls files to .csv files.
Below is the code I wrote but it is not working…
I want to execute the following command:
ssconvert /data/sam.xls,/data/test.csv
I have tried:
p = subprocess.Popen(["ssconvert", '/data/sam.xls','/data/test.csv'], stdout=subprocess.PIPE,shell=True)
out = p.communicate()
print"output",…