GroupDocs.Metadata-CLI
25.10.0
dotnet tool install --global GroupDocs.Metadata-CLI --version 25.10.0
dotnet new tool-manifest
dotnet tool install --local GroupDocs.Metadata-CLI --version 25.10.0
#tool dotnet:?package=GroupDocs.Metadata-CLI&version=25.10.0
nuke :add-package GroupDocs.Metadata-CLI --version 25.10.0
CLI for GroupDocs.Metadata for .NET
CLI - Command Line Interface for GroupDocs.Metadata for .NET document metadata and automation API.
How to install
GroupDocs.Metadata CLI is a dotnet tool. To start using the CLI you'll need .NET runtime and GroupDocs.Metadata CLI.
- Install .NET Core runtime following the instructions
- Install dotnet tool by running
dotnet tool install --global GroupDocs.Metadata-CLI - You can run GroupDocs.Metadata.CLI by using command
groupdocs-metadata
Example usage
Type 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.
Commands
exportfile metadata to a specifiedoutput-format. The default value isXML.removemetadata from a file.copymetadata between two files of the same type.findmetadata properties in a file.
Parameters
Parameters for "export" command
--output-format[short-f]: Output format, supported values areXml,Csv,Json,Xls, andXlsx.--output[short-o]: Output path.
Parameters for "remove" command
--all[short-a]: The flag indicates that all properties should be processed.--property[short-p]: Specifies a specific property name to work with.
Parameters for "copy" command
--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 areXml,Csv,Json,Xls, andXlsx.--output[short-o]: Output path.
Parameters for "find" command
--all[short-a]: The flag indicates that all properties should be processed.--property[short-p]: Specifies a specific property name to work with.
Parameters for all commands
--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.
Setting the license
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.