GroupDocs.Metadata CLI - dotnet tool to export, remove, copy, and find metadata associated with various document, image, audio, video and many other formats. It works with most notable metadata standards: XMP, EXIF, IPTC, Image Resource Blocks, ID3 and format-specific metadata properties. For more details on the GroupDocs.Metadata for .NET API, please visit product website at: https://products.groupdocs.com/metadata Note: GroupDocs.Metadata for .NET will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.
$ dotnet add package GroupDocs.Metadata-CLI
CLI - Command Line Interface for GroupDocs.Metadata for .NET document metadata and automation API.
GroupDocs.Metadata CLI is a dotnet tool. To start using the CLI you'll need .NET runtime and GroupDocs.Metadata CLI.
dotnet tool install --global GroupDocs.Metadata-CLIgroupdocs-metadataType export command and source filename to export metadata properties and place the output in the current directory:
groupdocs-metadata export source.docx
Set output-format parameter value to JSON to export properties to JSON file:
groupdocs-metadata export source.docx --output-format JSON
The --help or export --help option provides more detail about each parameter.
The --version option provides information about CLI version in use.
export file metadata to a specified output-format. The default value is XML.
remove metadata from a file.
copy metadata between two files of the same type.
find metadata properties in a file.
--output-format [short ]: Output format, supported values are , , , , and .
-fXmlCsvJsonXlsXlsx--output [short -o]: Output path.
--all [short -a]: The flag indicates that all properties should be processed.
--property [short -p]: Specifies a specific property name to work with.
--all [short -a]: The flag indicates that all properties should be processed.
--property [short -p]: Specifies a specific property name to work with.
--output-format [short -f]: Output format, supported values are Xml, Csv, Json, Xls, and Xlsx.
--output [short -o]: Output path.
--all [short -a]: The flag indicates that all properties should be processed.
--property [short -p]: Specifies a specific property name to work with.
--license-path: Path to license file.
--file-type: Source document file type e.g. DOCX.
--password [short -pwd]: Password to open password-protected file.
--verbose [short -v]: Enable detailed logging to console.
Without a license the tool will work in trial mode with some limitations. See Evaluation Limitations and Licensing of GroupDocs.Metadata for more details. A temporary license can be requested at Get a Temporary License.
The license can be set with --license-path parameter:
groupdocs-metadata export source.docx --license-path c:\\licenses\\GroupDocs.Metadata.lic
Also, you can set path to the license file in GROUPDOCS_METADATA_LICENSE_PATH environment variable.