I have .doc file. I want to know is there is any shell/linux cmd that can tell whether the doc file is password protected or not.
For pdf files , I have got pdfinfo. Is there anything for .doc files.
Thanks
I have .doc file. I want to know is there is any shell/linux cmd that can tell whether the doc file is password protected or not.
For pdf files , I have got pdfinfo. Is there anything for .doc files.
Thanks
Install
antiword
. If document is password protected, the output ofantiword file.doc
will beEncrypted documents are not supported
, otherwise it will be content of the document.