Can I get file meta info such as title and comments of .doc and .docx files using command line mode

Can I get file meta info such as title and comments of .doc and .docx files using libre office command line mode
Is there any other utility developed by libre office similar to this.

In MacOs, I use “mdls” to get the file info but my server is running in linux and there is no proper cli tool to extract the metadata for .doc and .docx files.

If libre office has any such tool to suit my needs would be of great help.

Thanks.

This python-docx projects seems to be capable of editng docx from the command line.

event the core properties: Document objects — python-docx 0.8.11 documentation

Ref.: GitHub - python-openxml/python-docx: Create and modify Word documents with Python