Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Composite Document File V2 Document? [closed]

I need to write a script to find out if a given document is of the format .doc or not. Iam using Amazon Linux machine. I tried to make use of the linux file command. For a given doc file the file command outputs the file information as following:

sample_file.doc: Composite Document File V2 Document, No summary info

I found out that file command provides the same file type information for 2003 excel files (.xls).

I want to know what all file types (like doc,xls) come under Composite Document File V2 Document and how I can check if given file is a doc file or not in Amazon Linux 2012 machine?

like image 252
KenAdams Avatar asked May 27 '15 09:05

KenAdams


1 Answers

It is a document format of the Microsoft. I used the guide here to convert my files without issues.

Essentially, you can use the unoconv tool for the conversion to a more friendly format.

like image 64
squeegee Avatar answered Sep 28 '22 04:09

squeegee