Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: ray carter Newsgroups: comp.os.linux.misc Subject: Re: Converting .xlsx to .csv? Date: 12 Apr 2015 22:49:09 GMT Lines: 21 Message-ID: References: <9oKdnUx2Pok_57TInZ2dnUU7-fmdnZ2d@giganews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net JZUEpFTVoGbi8Neue15noAdpoghmu7S3luwaeDt5qlcCFSkxMp Cancel-Lock: sha1:ETY07i9AE5LBS/iEgKBntf/FUHE= User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com comp.os.linux.misc:14512 On Sat, 11 Apr 2015 14:48:50 -0500, Robert Heller wrote: > Does there exist a *CLI* program to convert .xlsx files to .csv files? > > There are not any formulas or macros or anything like that in the files > in question. > > *I* don't have OpenOffice or LibreOffice installed on my Linux machine. > *I* don't use Office programs. I know I can isntall OpenOffice > but it is a beast that I am clueless about using, since I don't use it > and don't really know how to use it and have never in my 45 years of > computer programming -- I just don't deal with things that way. > > If there isn't a simple CLI program to do this, is there any > documentation on the format of the file that I can use to write such a > program? If you don't want a full office suite, I think your best bet is probably going to be 'gnumeric' - a more or less stand alone spreadsheet - it will export to CSV. You might try 'xls2csv' from the 'catdoc' package or cobble something together with 'xlhtml'.