SSCONVERT(1)
๐ธ ssconvert(1) โ the GNOME spreadsheet glow-up machine ๐ธ
okay bestie, this is the ssconvert(1) page from GNOME, and itโs literally the command line utility that converts spreadsheet files between various spreadsheet file formats. Itโs the companion utility to Gnumeric, the powerful spreadsheet program created by the GNOME project. Weโre staying for the whole thing. ๐
โจ NAME โจ
ssconvert โ a command line spreadsheet format converter. Itโs giving โconvert spreadsheets between various spreadsheet file formats from your terminal,โ no cap. ๐ฆ
๐ SYNOPSIS ๐
ssconvert [OPTIONS] infile outfile
ssconvert [OPTIONS] --merge-to outfile infile1 infile2 ...
๐ DESCRIPTION ๐
ssconvert is a command line utility to convert spreadsheet files between various spreadsheet file formats. It is a companion utility to Gnumeric, the powerful spreadsheet program created by the GNOME project. Iconic.
ssconvert accepts either file names or URIs as infile and outfile. The special URIs fd://0 and fd://1 can be used for standard input and standard output respectively. Standard streams understood, bestie. ๐ซถ
๐ OPTIONS ๐
This program follows the usual GNU command line syntax, with single letter options starting with a single dash (-) and longer options starting with two dashes (--). GNU syntax supremacy, fr fr.
๐ Main options ๐
--recalcโ Recalculate all cells before writing the result. The spreadsheet gets a full vibe check and redoes the math first. โจ--set CELL=CONTENTSโ Set the value ofCELLtoCONTENTS. To put an expression in a cell, add an extra=, for example--set "A11==A10+1". This option may be repeated as many times as needed. The workbook will be recalculated after all cells have been set, provided that the workbook is set for automatic recalculation. If not, recalculation can be forced with--recalc. Set the cells, set the vibe. ๐-v,--verboseโ Be slightly more verbose about what is going on. Not a full yap session, just slightly. ๐ฃ๏ธ--list-exportersโ List the available exporters (file formats that can be written). Window shopping for output formats.-T,--export-type=IDโ Specify which exporter to use; see below for a list. This is only necessary when the right format does not follow from the output file name. The list of available export formats can be generated using the--list-exportersoption. However, when image export is requested using the--export-graphsoption, the list of image formats should be consulted instead. That list can be generated using the--list-image-formatsoption. ๐ฏ-O,--export-options=optionsstringโ Specify parameters for the chosen exporter.optionsstringis a list ofparameter=valuepairs, separated by spaces. The parameter names and values allowed are specific to the exporter and are documented below. Multiple parameters can be specified. Customization era.--export-graphsโ Export the graphs (or charts) inside the input spreadsheet to numbered image files (SVG by default). The list of available image formats can be printed with--list-image-formats. ๐โจ--list-importersโ List the available importers (file formats that can be read). Reading is fundamental.-I,--import-type=IDโ Specify which importer to use; see below for a list. This is only necessary when the right format does not follow from the input file name. ๐ต๏ธโโ๏ธ--list-image-formatsโ List the available image formats for graph export. ๐ผ๏ธ-E,--import-encoding=STRINGโ Specify an encoding for imported content. Encoding check, mandatory.-M,--merge-to=FILENAMEโ Merge a collection of workbooks into one. Sheet size will expand to the largest in all the workbooks. Names in the scope of individual workbooks will end up in the scope of the merged workbook. The merge will be aborted if there are name conflicts. Group project, but make it spreadsheets. ๐ซถ-S,--export-file-per-sheetโ Export a file for each sheet if the exporter only supports one sheet at a time. The output filename is treated as a template in which sheet number is substituted for%n, sheet name is substituted for%s, and sheet object name is substituted for%oin case of graph export. If there are no substitutions, a default of".%n"is added. Template slay. ๐
๐ซถ Help options ๐ซถ
--versionโ Displayssconvertโs version. ๐-h,--help,--usageโ Display a brief usage message. Quick lil recap.--help-allโ Show all help options. ๐--help-libspreadsheetโ Show Gnumeric options. ๐ง
๐ง LIST OF IMPORTER/EXPORTER IDS ๐ง
The following IDs can be used both for import (reading) and export (writing). Dual threat IDs, periodt.
Gnumeric_XmlIO:saxโ Gnumericโs XML file format (*.gnumeric). ๐Gnumeric_OpenCalc:openofficeโ OpenDocument (http://en.wikipedia.org/wiki/OpenDocument) or OpenOffice Calc (http://en.wikipedia.org/wiki/OpenOffice.org_Calc) (*.sxc,*.ods) format. As an exporter, this is ODF/OpenOffice without foreign elements (*.ods). ๐ฆGnumeric_dif:difโ Data Interchange Format (http://en.wikipedia.org/wiki/Data_Interchange_Format) (*.dif). ๐ธGnumeric_paradox:paradoxโ Paradox database (http://en.wikipedia.org/wiki/Paradox_%28database%29) or primary index file (*.db,*.px). ๐Gnumeric_stf:stf_assistantโ Text (configurable). You can configure the text situation.Gnumeric_sylk:sylkโ MultiPlan (http://en.wikipedia.org/wiki/Multiplan) Symbolic Link (SYLK) (http://en.wikipedia.org/wiki/SYmbolic_LinK_%28SYLK%29) (*.slk). โจGnumeric_Excel:xlsxโ Microsoft Excel (tm) 2007 (โOffice Open XMLโ,OOXMLhttp://en.wikipedia.org/wiki/XLSX) format. ๐ฅ
๐ LIST OF IMPORTANT IMPORTER IDS ๐
Gnumeric_stf:stf_csvtabโ Comma or tab separated values (CSV/TSV) (*.csv). ๐Gnumeric_html:htmlโ HTML (*.html,*.htm). ๐Gnumeric_Excel:excelโ Microsoft Excel (tm) (*.xls). ๐Gnumeric_Excel:excel_xmlโ Microsoft Excel (tm) 2003 SpreadsheetML. ๐
๐ธ LIST OF OTHER IMPORTER IDS ๐ธ
Gnumeric_QPro:qproโ Quattro Pro (http://en.wikipedia.org/wiki/Quattro_Pro) (*.wb1,*.wb2,*.wb3). ๐Gnumeric_applix:applixโ Applix (*.as). ๐ฆGnumeric_lotus:lotusโ Lotus 1-2-3 (http://en.wikipedia.org/wiki/Lotus_1-2-3) (*.wk1,*.wks,*.123). ๐ธGnumeric_mps:mpsโ MPS (Mathematical Programming System) format (http://en.wikipedia.org/wiki/MPS_%28format%29) Linear programming and mixed integer programming file format (*.mps). Math girlies rise. ๐งฎGnumeric_oleo:oleoโ GNU Oleo (http://en.wikipedia.org/wiki/GNU_Oleo) (*.oleo). ๐Gnumeric_plan_perfect:plnโ PlanPerfect Format (PLN). ๐Gnumeric_psiconv:psiconvโ Psion (*.psisheet). ๐ฆGnumeric_sc:scโ SC/xspread. โจGnumeric_xbase:xbaseโ xBase (http://en.wikipedia.org/wiki/XBase) (*.dbf) file format. ๐
๐ฅ LIST OF IMPORTANT EXPORTER IDS ๐ฅ
Gnumeric_OpenCalc:odfโ ODF/OpenOffice with foreign elements (*.ods). ๐Gnumeric_glpk:glpkโ GLPK Linear Program Solver. Solver moment. ๐งฎGnumeric_html:html40โ HTML 4.0 (*.html). ๐ธGnumeric_html:html40fragโ HTML (*.html) fragment. ๐Gnumeric_html:xhtmlโ XHTML (*.html). ๐ฆGnumeric_html:xhtml_rangeโ XHTML range - for export to clipboard. ๐โจGnumeric_pdf:pdf_assistantโ Portable Document Format (*.PDF). ๐Gnumeric_stf:stf_csvโ Comma separated values (CSV). ๐Gnumeric_Excel:excel_dsfโ Microsoft Excel (tm) 97/2000/XP & 5.0/95. ๐ฅ
โญ LIST OF OTHER EXPORTER IDS โญ
Gnumeric_Excel:excel_biff7โ Microsoft Excel (tm) 5.0/95. ๐Gnumeric_Excel:excel_biff8โ Microsoft S Excel (tm) 97/2000/XP. Yes, that โSโ is in the source. We keep it. ๐ญGnumeric_GnomeGlossary:poโ Gnome Glossary PO file format. ๐ธGnumeric_html:html32โ HTML 3.2 (*.html). ๐ฆGnumeric_html:latexโ LaTeX 2e (*.tex). ๐Gnumeric_html:latex_tableโ LaTeX 2e (*.tex) table fragment. โจGnumeric_html:roffโ TROFF (http://en.wikipedia.org/wiki/Troff) (*.me) format. ๐Gnumeric_lpsolve:lpsolveโ LPSolve (http://sourceforge.net/projects/lpsolve/) Mixed Integer Linear Programming (MILP) solver. MILP solver icon behavior. ๐
๐ OPTIONS FOR THE PORTABLE DOCUMENT FORMAT (*.pdf) EXPORTER ๐
sheetโ Name of the workbook sheet to operate on. You can specify several sheets by repeating this option. This is ignored if theobjectoption is given. ๐active-sheetโ Select the active sheet to operate on. The value for this option is irrelevant, but the equal sign is mandatory. Equal sign mandatory, bestie. ๐objectโ Name of the sheet object to print. If this option is given anysheetoption is ignored. Only the first object given is exported. ๐ผ๏ธpaperโ Paper size. Valid values include"A4"for ISO A4 and"na_letter_8.5x11in"for US Letter. If an individual graph is specified through theobjectoption, then a paper size of"fit"reduces the size of the paper to the size of the graph. ๐โจ
โจ OPTIONS FOR THE CONFIGURABLE TEXT (*.txt) EXPORTER โจ
okay bestie, this is the plain-text exporter menu โ aka the "make it a .txt file" zone. every flag here is a little dial you can turn, and yes, the defaults are cute but you can absolutely customize the vibe ๐
sheetโ the name of the workbook sheet to operate on. you can specify several sheets by repeating this option, so go off ๐active-sheetโ select the active sheet to operate on. the value for this option is irrelevant, but the equal sign is mandatory. yep, the<kbd>=</kbd>is literally the whole assignment, no cap.eolโ End Of Line convention; how lines are terminated."unix"for linefeed,"mac"for carriage return;"windows"for carriage return plus linefeed. choose your line-ending destiny ๐charsetโ the character encoding of the output. defaults toUTF-8. slay, UTF-8 stays winning โจlocaleโ the locale to use for number and date formatting. defaults to the current locale as reported bylocale(1). consultlocale -aoutput for acceptable values. iykyk ๐งquoteโ the character or string used for quoting fields. defaults to"\""(quotation mark / double quote). little quote guy doing important work ๐separatorโ the string used to separate fields. defaults to space. tiny but iconic.formatโ how cells should be formatted. acceptable values:"automatic"(apply automatic formatting; default),"raw"(output data raw, unformatted), or"preserve"(preserve the formatting from the source document).
this deals with the difference between a cell's contents and the way those contents are formatted. main character energy for spreadsheets, honestly.
consider a cell in a Gnumeric input document that was input as "4/19/73" in a US locale, with a format set to "d-mmm-yyyy" and thus formatted as "19-Apr-1973".
with the default format setting of "automatic" it will be output as "1973/04/19". with "preserve", the formatting will be preserved and it will be output as "19-Apr-1973". with "raw" it will be output as "26773" (Gnumeric's internal representation: days since an epoch). the numbers are giving time-travel lore ๐ฅ
formulasโ if set to true, formulas will be exported instead of cell values. not the results, the literal formulas. periodt.transliterate-modeโ how to handle unrepresentable characters, i.e., characters that cannot be represented in the chosen output character set. acceptable values:"transliterate", or"escape". the former will rewrite characters that cannot be represented in the output character set into an approximation with one or more characters that can. seeiconv(1)for more details. the default is"escape"which will replace an unrepresentable character with an escape sequence identifying the unicode code point. very "we found a workaround" of it all ๐quoting-modeโ when does data need to be quoted?"never","auto"(puts quotes where needed), or"always". defaults to"auto". the lowkey perfect middle ground ๐ซถquoting-on-whitespaceโ controls whether initial or terminal whitespace forces quoting. defaults toTRUE. those sneaky spaces get noticed, bestie ๐ธ
๐ธ EXAMPLE ๐ธ
to convert the Gnumeric file foo.gnumeric to a Microsoft Excel(TM) format file foo.xls:
ssconvert foo.gnumeric foo.xls
the export format can be specified explicitly, to override the default (which is based on the file extension):
ssconvert --export-type=Gnumeric_stf:stf_csv foo.xls foo.txt
to convert an Excel format file statfuns.xls to a text file, specifying the semicolon as the separator character:
ssconvert -O 'separator=; format=raw' samples/excel/statfuns.xls statfuns.txt
to export the charts from the input file input.gnumeric to numbered SVG files:
ssconvert --export-graphs input.gnumeric 'output.%n.svg'
to export the charts from the input file input.gnumeric to numbered PNG files:
ssconvert --export-type=png --export-graphs input.gnumeric 'output.%n.png'
๐ LICENSE ๐
ssconvert is licensed under the terms of the General Public License (GPL), version 2 or 3. for information on this license look at the source code that came with the software or see the GNU project page http://www.gnu.org. legal bestie moment, but make it free software ๐๏ธ
๐ COPYRIGHT ๐
the copyright on the Gnumeric software and source code is held by the individual authors as is documented in the source code. respect the authors, they ate ๐
๐ฆ AUTHOR ๐ฆ
ssconvert's primary author is Jody Goldberg <jody@gnome.org>; ssconvert builds on the Gnumeric codebase. iconic lineage, fr fr.
the initial version of this manpage was written by J.H.M. Dassen (Ray) <jdassen@debian.org>. absolute manpage pioneer behavior ๐
โญ SEE ALSO โญ
gnumeric(1)ssdiff(1)ssgrep(1)ssindex(1)- The Gnumeric Homepage
https://www.gnumeric.org/. - The GNOME project page
https://www.gnome.org/.
๐ source/version and date check, bestie: this little masterpiece comes from gnumeric, dated 2020-04-19, and it's living under SSCONVERT(1) โ mwah ๐
๐ฆ where this page comes from
- arch rolling: gnumeric 1.12.62-2 ยท GPL
- nixpkgs unstable: gnumeric 1.12.62
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms