Unix command to convert xls file into xlsx file? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I there any unix command which will convert xls file into xlsx file?
Also i have tried using mv command, it is changing the extension as well. But then i am not able to open the xlsx file.
mv .xls .xlsx
Any suggestion will be really appreciate.

As far as I know, this is not something you can easily do with standard unix tools.
You can use LibreOffice:
libreoffice --convert-to xlsx my.xls --headless
Or maybe find an online converter and submit your file to it.

Related

Issue in extracting gz files in Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 months ago.
Improve this question
I have downloaded the following file on my Linux computer:
wget https://github.com/tomwhite/hadoop-book/blob/master/input/ncdc/all/1901.gz
I tried to unzip the file using gunzip 1901.gz but it did not work. I check the file format using 'file' command and it says:
1901.gz: HTML document, UTF-8 Unicode text, with very long lines
I am quite new to Linux. May I know how can I successfully extract the data for usage?
You have downloaded a regular HTML file and you called it something.gz, hoping that that would turn it into a zipped file, but this is not how it works: your file is not a zipped file, so there's no reason trying to unzip it.

How to copy all the fine with a specific format like .txt and .png from a folder to another one in Linux Terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hi all I have a folder full of different format like the one that I am interested in are .png and .txt and I want to copy them in another folder from the terminal in Linux. Someone know how to that?
Simple Use cp command in Linux
=> Example:
cp *.txt /destination/folder/location/

Corrupt Excel File [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have a user who was working on an Excel 2007 file from a thumbdrive.. all of a suddem the file will not open and generates the following error:
"Excel cannot open the file 'filename.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file. (OK)"
I hit Ctrl-Shift-i to get the code for that error (101590)
Any ideas how to repair?
I have tried the following to no avail:
Open and Repair tool
Opening with OpenOffice
http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010097017.aspx
http://support.microsoft.com/kb/928979
First try to rename file. Go to tools, folder options, file types and check have you .xlsx extension. If not then rename the file .xlsx to .xls
Second try to look here: https://social.technet.microsoft.com/Forums/en-US/4994c2f4-ce6e-467d-a06c-d9ab7d67b706/i-have-a-case-that-the-client-work-on-an-exists-excel-file?forum=excel

Reason to not use Excel file format: .xlsb all the time [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I would like to know if there is a reason to not use .xlsb file format all the time, instead of .xlsx or .xlsm?
I've looked at this post: When should the xlsm or xlsb formats be used?
and also done some basic tests myself, it seems binary format is way superior. So I'm curious to know whether I shouldn't just use .xlsb all the time and say goodbye to .xlsx or .xlsm. Is there a catch somewhere?
The only reason not to use .xlsb is for compatibility reasons since since many other software applications cannot handle the format.

lpr to print files with different names and directories [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a script witch use lpr to print the output to a PDF file.
I would like to change the location or even the file name of the saved file.
I read several forums about lpr and did not find anything on how to specify the name and the directory of the printed pdf.
Instead I always get a standard name in my PDF directory.
Thank you!
Take a look at cups-pdf, https://help.ubuntu.com/community/PDFPrinting . You can configure the output directory and filename with it. The configuration file is /etc/cups/cups-pdf.conf.

Resources