> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment Console tools

> Reference for the DirectGVR Deployment Console tools and protocol configuration.

## System requirements

| System | Requirement |
| - | - |
| Windows | .NET 10.0 Runtime |
| Macintosh | .NET 10.0 Runtime |
| Linux | .NET 10.0 Runtime |

## Wildcard support

If wildcard support is mentioned you can use a semicolon delimited list to specify multiple wildcards.

The following expression excludes all txt and md files:

Multiple wildcards

```json theme={null}
--exclude=*.txt;*.md
```

Also, use a exclamation point as the first character to negate the expression.

The following expression excludes all the files from the test directory except a single readme.md file

Negate the expression

```json theme={null}
--exclude=test/*;!test/readme.md
```

If you need to use an exclamation point as the first character then you can escape it with a backslash. This only is required if the exclamation point is the first character in the file name.

The following expression excludes the !test text file:

Exclamation point as first character

```json theme={null}
--exclude=\!test.txt
```

## Tools

### Builder

The builder tool is used to bundle and stamp a skin with the host binary.

Builder Console Usage

```json theme={null}
dotnet Solid.Builder.Console.dll [options]
```

* **Bold**  values indicate required parameters
* All options are preceded with double hyphens --

| Option | Description | Default |
| - | - | - |
| **platform=VALUE** | Target platform for build. Valid values are: win32 win64 mac64 macarm64 ubuntu20 ubuntu22 ubuntu24 The platform directories are expected to be located in a "bin" sub-directory along side the builder executable. Alternatively, it is possible to use an absolute path to the specific platform directory to use. | |
| **skin=VALUE** | Path to skin filesystem | |
| **output=VALUE** | Output path to compiled application. Valid extension include: .exe .app .app.zip no extension for linux | |
| version=VALUE | Product version | *Version of the console tools being used* |
| companyName=VALUE | Company name | Solid State Networks |
| copyright=VALUE | Copyright information | Copyright (C) Solid State Networks |
| productName=VALUE | Product name | DirectGVR |
| commandLine=VALUE | Preset command line arguments | |
| bundleId=VALUE | macOS [bundle identifier](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier). See Apple documentation for proper format and character formatting. Default value contains only non-alphanumeric characters, hyphens, and periods. | com.\{companyName}.\{productName} |
| help | Show usage information | |

Sample Usage

```json theme={null}
dotnet Solid.Builder.Console.dll --platform=win32 --skin=c:/pathToSkin/launcherSkin/ --output=c:/output/gameLauncher.exe --version=1.0.0.1 --companyName=Solid State Networks
```

### DMG

The dmg tool is used to manipulate apple disk images (.dmg). Signing must be performed as a separate step and the source argument specified must be an existing dmg.

DMG Console Usage

```json theme={null}
dotnet Solid.DMG.Console.dll [options]
```

* **Bold**  values indicated requires parameters
* All options are preceded with double hyphens --

| Option | Description | Default |
| - | - | - |
| **source=VALUE** | Path to the dmg or source directory. When value is a path to a dmg file, the target value should specify a directory to extract the dmg contents to. 1, 2 When value is a directory, the target value should specify a dmg file that should be created from it. | |
| **target=VALUE** | Path to dmg or target directory. When value is a path to a dmg file, the source value should specify a directory to create it from. When value is a directory, the source value should specify a dmg file to extract from. 1, 2 | |
| volume=VALUE | The name of the volume to create. | Untitled |
| savehfs | Saves a raw copy of the HFS volume to disk along side the DMG. | |
| iconsize=VALUE | Size of the icons used in finder window. | 48 |
| iconfontsize=VALUE | Size of the icon font used in finder window. | 12 |
| iconview=VALUE | Icon view used in finder window: icons columns list coverflow (discontinued in macOS 10.14) gallery | icons |
| iconpos=H,V,PATH | Center position of a particular icon in finder window. Format of value should be *h,v,path.* Where *h* is the horizontal center of the icon in the finder window, *v* is the veritical center of the icon in the finder window, and *path* (optional) is the path of the icon. If *path* is not specified it will use the first .app that it finds. | |
| iconlabelpos=VALUE | Position of the icons label with respect to the icon in finder window. Only has affect when the finder window is in *icons* view. right bottom | bottom |
| arrangeby=VALUE | Arrangement of the icons in finder window. Only has affect when the finder window is in *icons* view. none grid | none |
| windowrect=X,Y,W,H | Position of the finder window. | |
| backgroundimage=VALUE | Path to the background image, relative to the source directory, to use for the finder window. Supports JPG, PNG, and TIFF. The filename provided should also exist in the root directory of the source directory. To hide the background image, prefix the filename with a period. | |
| pkcs12=VALUE | Path to PKCS #12 file used for signing (.pfx). When signing, the `--source` and `--target` arguments must specify a path to an already created dmg. Certificates must be SHA-2 certificates and include the full certificate chain. | |
| password=VALUE | Password for the pkcs #12 file | |
| timestamp=VALUE | URL to the timetstamp server. Examples: [http://timestamp.verisign.com/scripts/timstamp.dll](http://timestamp.verisign.com/scripts/timstamp.dll) [http://timestamp.apple.com/ts01](http://timestamp.apple.com/ts01) | |
| datastore | Adds an unauthenticated attribute to the signature that can be used for file stamping. | |
| datastoresize | Size of the datastore (for example 4kb, 8kb). Maximum size is 1000kb. | |
| Help Options | | |
| help | Show usage information | |

**Notes**

1. Cannot extract dmgs created with dmgutil.
2. Cannot extract dmgs that have been created on OS X 10.11 or higher due to HFS+ compression.
3. Source directories that contain files or directories that begin with an \_ underscore will be renamed to begin with a . dot.
4. To create a dmg that has a volume icon, the source directory must have a file named ".VolumeIcon.icns" or "\_VolumeIcon.icns".

**Changes in 5.2:**

* Added new arguments with ability to customize dmg finder window
* Added support for ADC compressed (UDCO) disk images

**Changes in 7.0:**

* Added iconview argument gallery.
* Removed sidebarwidth argument.

Sample Usage

```json theme={null}
Solid.DMG.Console.exe --source=c:\users\username\desktop\test.dmg --target=c:\users\username\desktop\test\
 
Solid.DMG.Console.exe --source=c:\users\username\desktop\test2\ --target=c:\users\username\desktop\test2.dmg
```

**Debugging Issues**

Apple disk images can be mounted manually via the following command line:

```json theme={null}
hdiutil attach -verbose -debug test.dmg
```

When creating a dmg file, the dmg tool will also output the HFS+ file system to an ".hfs" file. These can also be mounted manually:

```json theme={null}
hdiutil attach -verbose -debug -imagekey diskimage-class=CRawDiskImage test.hfs
```

It is possible to validate or check and HFS+ file system using the following [fsck\_hfs](https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man8/fsck_hfs.8.html)command. After the dmg has been mounted it would be possible to run the following command to check the file system:

```json theme={null}
/sbin/fsck_hfs -f -n -d /dev/disk1s3
```

### JWKS

The JWKS tool can be used to create a JSON Web Token Key Set file.

Signer Console Usage

```json theme={null}
dotnet Solid.JWKS.Console.dll [options]
```

* **Bold**  values indicate required parameters
* All options are preceded with double hyphens --

| Option | Description |
| - | - |
| **source=VALUE** | Path to source file or directory. Valid extensions include: .cer .pem .der .jwks.json |
| **target=VALUE** | Path to target output file. Valid extensions include: .jwks.json |
| add | Adds source certificates to target key set file. |
| delete=VALUE | Deletes a key in a key set. Comparison made using *kid* , *x5t* , *x5t#S256* . |
| help | Show usage information |

Sample Usage

```json theme={null}
dotnet Solid.JWKS.Console.dll --source=C:\path\to\skins\launcher\certs\ --target=c:\path\to\hello.jwks.json
dotnet Solid.JWKS.Console.dll --source=C:\path\to\skins\launcher\certs\ssn.pem --target=c:\path\to\hello.jwks.json --add
dotnet Solid.JWKS.Console.dll --source=c:\path\to\hello.jwks.json --target=c:\path\to\hello.jwks.json --delete=teOGxFJgJJdpfxwD_soVGBQ6YX4
```

### Login

Request and store an access token for use with other console applications.

The access token can be located in one of the following directories:

| System | Location |
| - | - |
| Windows | \{UserHome}.snxd\credentials.jwt |
| Mac | \~/.snxd/credentials.jwt |
| Linux | \~/.snxd/credentials.jwt |

Login Console Usage

```json theme={null}
dotnet Solid.Login.Console.dll [options]
```

* **Bold**  values indicate required parameters
* All options are preceded with double hyphens --

| Option | Description |
| - | - |
| **grant=VALUE** | Type of login clientCredentials prompt resourceOwner |
| config=VALUE | Uri to additional config file (Merged with existing configuration) |
| help | Show usage information |
| log=VALUE | Logging options (json, thread, stack) json - Output messages wrapped in JSON format thread - Show thread id of each message stack - Show stack trace on exceptions minify - Minify log messages |
| requests=VALUE | Number of concurrent requests (0 = 1 request per logical processor) |
| Client Credentials Options | |
| clientId=VALUE | unique id used to identify auth0 client |
| clientSecret=VALUE | secret known only to your application and the authorization server |
| **Resource Owner Options** | |
| clientId=VALUE | unique id used to identify auth0 client |
| clientSecret=VALUE | secret known only to your application and the authorization server (optional) |
| connection=VALUE | auth0 connection/account |
| password=VALUE | resource owner password |
| user=VALUE | resource owner username |
| **Scan Options** | |
| clientId=VALUE | unique id used to identify auth0 client |
| clientSecret=VALUE | secret known only to your application and the authorization server (optional) |
| connection=VALUE | auth0 connection/account |

Sample Usage

```json theme={null}
dotnet Solid.Login.Console.dll --grant=clientCredentials --clientId=ixSWib62i93IF9EzPPwWxoAD0Rxeg0IE --clientSecret=badf00d

dotnet Solid.Login.Console.dll --grant=prompt --clientId=ldsrkjAiYh2y23d81UINHE8tTKHHMH9r 
```

### MetaFile

The metafile tool is used to generate metafiles based on a snapshot of the content.

Metafile Console Usage

```json theme={null}
dotnet Solid.MetaFile.Console.dll [options]
```

* **Bold**  values indicate required parameters
* All options are preceded with double hyphens --

| Option | Description |
| - | - |
| **metafile=VALUE** | Path to metafile. Should end with .json. Must be used in conjunction with another option |
| add=VALUE | Source content to add to metafile which can be one of the following: Path to directory containing file(s). Must end in a trailing slash1. Path to a file HTTP url S3 url |
| config=VALUE | Uri to additional config file (Merged with existing configuration) |
| description=VALUE | Add generic description information to metafile |
| diff=VALUE | Path to source metafile for differencing. |
| help | Show usage information |
| id=VALUE | Manually set metafile id. If missing or an empty string the id is automatically generated based on the metafile content. |
| log=VALUE | Logging options (json, thread, stack) json - Output messages wrapped in JSON format thread - Show thread id of each message stack - Show stack trace on exceptions minify - Minify log messages |
| minify | Strip whitepace when saving metafile |
| modify=VALUE | Name of the file(s) to be modified (supports wildcards \*) |
| requests=VALUE | Number of concurrent requests (0 = 1 request per logical processor) |
| remove=VALUE | Name of file(s) to remove from metafile (supports wildcards \*) |
| scan=VALUE | Scan original filepaths in metafile to generate piece digests (rollsum, fixed) |
| stat | Basic metafile statistics |
| version | Add generic version information to metafile |
| Add Options | |
| attr=VALUE | Set attributes for file (sync, #) |
| exclude=VALUE | semicolon delimited wildcards to be excluded |
| hidden | include hidden files |
| include=VALUE | semicolon delimited wildcards to be included (default: \*) |
| mtime=VALUE | Set modified time for file (sync, now, #) |
| source=VALUE | Set base path for the source files |
| system | include system files |
| **Modify Options** | |
| attr=value | Set attributes for file (#, remove, +/-hrx) +: Adds attribute -: Removes attributes h: Hidden2 r: ReadOnly x: Executable |
| exclude=value | semicolon delimited wildcards to be excluded |
| include=value | semicolon delimited wildcards to be included (default: \*) |
| mtime | Set modified time for file (#, now, remove) |
| **Scan Options** | |
| source=VALUE | Set base path for the source files |

**Notes**

1. If the path to the file contains spaces and it is being wrapped in quotes ("), do not to escape the end quote with a single backslash (i.e. "c:\temp\path"). Use either double backslashes \ or a forward slash / instead
2. If the target operating system is not Windows based, the filename must begin with a dot (.hidden\_file.txt).

Sample Usage

```json theme={null}
dotnet Solid.MetaFile.Console.dll --metafile=c:/temp/game-release-01.json --add=c:/gamedirectory/01/ --mtime=sync
 
dotnet Solid.MetaFile.Console.dll --metafile=c:/temp/game-release-01.json --modify=*/deu.all/* --attr=+x
 
dotnet Solid.MetaFile.Console.dll --metafile=c:/temp/game-release-01.json --scan --source=c:/gamedirectory/01/
```

### Notary

The notary tool can be used to notarize and staple macOS binaries for Gatekeeper.

Signer Console Usage

```json theme={null}
dotnet Solid.Notary.Console.dll [options]
```

* **Bold**  values indicate required parameters
* All options are preceded with double hyphens --

| Option | Description | Default |
| - | - | - |
| **source=VALUE** | Path to source file or directory. Valid extensions include: .app .app.zip .dmg .dylib | |
| target=VALUE | Path to stapled target. If not specified, the source path is stapled. | |
| **issuerId=VALUE** | Apple store connect issuer id. | |
| **keyId=VALUE** | Apple store connect key id. | |
| **privateKeyPath=VALUE** | Path to Apple store connect private key pem file. | |
| waitMinutes=VALUE | Maximum time to wait for acceptance. | 0 |
| staple | Staple notarization ticket to .app or .dmg | |
| help | Show usage information | |

Sample Usage

```json theme={null}
dotnet Solid.Notary.Console.dll --source=c:/users/username/downloads/solsta-1.0.7.1-mac64.dmg --issuerId=aba6de6e-a21b-4443-e013-4c8c4531a111 --keyId=MVA79QW5RV --privateKeyPath=c:/users/username/downloads/AuthKey_MVA79QW5RV.p8 --waitMinutes=10
```

### Release

The release tool is used to create/copy/verify a release.

Release Console Usage

```json theme={null}
dotnet Solid.Release.Console.dll [options]
```

* **Bold**  values indicate required parameters
* All options are preceded with double hyphens --

| Option | Description |
| - | - |
| **sourcemetafile=VALUE** | Path to source metafile. Should end with .json |
| check=VALUE | Check integrity of a previous release exists (only check the files exist) digest (check piece digests) |
| config=VALUE | Uri to additional config file (Merged with existing configuration) |
| create | Create or copy a release |
| help | Show usage information |
| log=VALUE | Logging options (json, thread, stack) json - Output messages wrapped in JSON format thread - Show thread id of each message stack - Show stack trace on exceptions minify - Minify log messages |
| requests=VALUE | Number of concurrent requests (0 = 1 request per logical processor) |
| Check | |
| source=VALUE | Set base path for the source files |
| sourcetype=VALUE | Release source type (piece/file) |
| sourceflags=VALUE | Flags used when loading pieces (gzip, aes256) (Only used in deprecated raw piece format) |
| sourcepassword=VALUE | Password used to decrypt piece |
| Create | |
| overwrite | Overwrite files during operation |
| source=VALUE | Set base path for the source files |
| sourcetype=VALUE | Release source type (piece/file) |
| sourceflags=VALUE | Flags used when loading pieces (gzip, aes256) (Only used in deprecated raw piece format) |
| sourcepassword=VALUE | Password used to decrypt piece |
| target=VALUE | Base path for the target files which can be one of the following:Path to directory containing file(s) S3 url |
| targetcatalog=VALUE | target path for catalog which can be one of the following:Path to directory containing file(s) S3 url |
| targetflags=VALUE | Flags used when saving pieces (gzip, aes256) |
| targetmetafile=VALUE | target path for metafile which can be one of the following:Path to directory containing file(s) S3 url |
| targetpublish=VALUE | Client-facing download url |
| targettype=VALUE | Release target type (piece/file) |

Sample Usage

```json theme={null}
dotnet Solid.Release.Console.dll --sourcemetafile=c:/temp/game-release-01.json --create --target=s3://362d5409-62894/game/ --targetmetafile=s3://362d5409-62894/game/metafile/game-release-01.json --targettype=piece --source=c:/gamedirectory/ --sourcetype=file
```

### Signer

The signer tool can be used to sign binaries and also .json files.

Signer Console Usage

```json theme={null}
dotnet Solid.Signer.Console.dll [options]
```

* **Bold**  values indicate required parameters
* All options are preceded with double hyphens --

| Option | Description |
| - | - |
| **source=VALUE** | Path to source file being signed. Valid extensions include: .exe1 .app .framework .dll .dylib .json .dmg |
| **target=VALUE** | Output path for signed file. Valid extensions include: .exe .app .framework .dll .dylib .json .dmg |
| **timestamp=VALUE** | URL to the timestamp server. By default, the timestamp request/response RFC3161 format will be used. To force using the authenticode format for older timestamp servers, use an *#authenticode* fragment at the end of the timestamp URL. Only the authenticode timestamp format will support both SHA1 and SHA256 PE file hashes for XP compatibility. Not all timestamp servers support the authenticode timestamp format. Examples: [http://timestamp.verisign.com/scripts/timstamp.dll](http://timestamp.verisign.com/scripts/timstamp.dll) [http://timestamp.apple.com/ts01](http://timestamp.apple.com/ts01) [http://timestamp.digicert.com](http://timestamp.digicert.com) [http://timestamp.acs.microsoft.com](http://timestamp.acs.microsoft.com) |
| datastore | Adds an unauthenticated attribute to the signature that can be used for file stamping. |
| datastoresize=VALUE | Size of the datastore (for example 4kb, 8kb). Maximum size is 1000kb. |
| jwks=VALUE | Path to an optional jwks file for use when signing jws to assign kid (.jwks.json) |
| deep | Sign nested libraries, frameworks, and applications for macOS app bundles. When using this option, all nested code will be signed with the same parameters. If certain nested code requires a different entitlement, you should sign all nested code individually instead of using this option. |
| help | Show usage information |
| **Local Key Store Options** | |
| pkcs12=VALUE1 | Path to PKCS #12 file used for signing (.pfx). Certificates must be SHA-2 certificates and include the full certificate chain. |
| password=VALUE1 | Password for the pkcs #12 file |
| store=VALUE1 | Certificate store to locate certificate in user - Current user certificate store machine - Local machine certificate store |
| identity=VALUE1 | Certificate thumbprint or subject name to search the certificate store for. |
| pkcs11uri=VALUE1 | PKCS#11 URI. |
| **Windows Key Store Options** | |
| kspname=VALUE1 | Name of the cryptographic key storage provider. |
| kspalias=VALUE1 | Name of the key alias. |
| ksppubkey=VALUE1 | Path to the public certificate for signing key. |
| ksppin=VALUE | Smart card pin |
| Azure Trusted Signing Service | |
| aztstenantid=VALUE1 | Azure tenant ID. |
| aztsclientid=VALUE1 | Azure application client ID. You must register an application in Azure and generate a client ID and secret in "Certificates & secrets". For more information, see the screenshots in this [code-signing setup guide](https://dlemstra.github.io/github-stories/2023/imagemagick-now-uses-azure-code-signing/). |
| aztsclientsecret=VALUE1 | Azure application client secret. |
| aztsendpoint=VALUE1 | Azure regional endpoint url. This is selected when creating the resource in Azure. See [Set up signing integrations to use Trusted Signing](https://learn.microsoft.com/en-us/azure/trusted-signing/how-to-signing-integrations) for a table containing the available endpoint URIs. |
| aztsaccount=VALUE1 | Azure code signing account name. |
| aztsprofile=VALUE1 | Azure certificate profile name. |
| Azure KeyVault Service | |
| azkvtenantid=VALUE1 | Azure tenant ID. |
| azkvclientid=VALUE1 | Azure application client ID. You must register an application in Azure and generate a client ID and secret in "Certificates & secrets". For more information, see the screenshots in this [code-signing setup guide](https://dlemstra.github.io/github-stories/2023/imagemagick-now-uses-azure-code-signing/). |
| azkvclientsecret=VALUE1 | Azure application client secret. |
| azkvaccount=VALUE1 | Azure key vault account name. (for example account-name in account-name.vault.net) |
| azkvkeyname=VALUE1 | Friendly name of the certificate or key. |
| azkvkeyversion=VALUE | Optional version id of the certificate or key. |
| ****SSL.com eSigner Cloud Signing Service Options**** | |
| esclientid=VALUE1 | eSigner application client ID. See instructions at [Register an Application with eSigner’s CSC API](https://www.ssl.com/how-to/register-application-esigner-csc-api/). Ensure that the *credentials* box is checked for the generation of the client secret. |
| esclientsecret=VALUE1 | eSigner application client secret. |
| esusername=VALUE1 | eSigner account username. |
| espassword=VALUE1 | eSigner account password. |
| esotpsecret=VALUE1 | eSigner one time password secret code. |
| esalias=VALUE1 | eSigner certificate alias (credential id, serial number, or thumbprint) |

**Environment Options**

* ESIGNER\_OAUTH2\_ENDPOINT\*\*-\*\* eSigner OAuth2 service endpoint URL. Should include only the scheme and host.
* ESIGNER\_CSC\_ENDPOINT - eSigner CSC API endpoint URL. Should include only the scheme and host.

**Notes**

1. Specify the certificate to sign with using either:
   1. *pkcs12*  and *password*  OR
   2. *pkcs11uri*  OR
   3. *store*  and *identity* OR
   4. *kspname*  and *kspalias*  and *ksppubkey* OR
   5. *esclientid*  and *esclientsecret*  and *esusername*  and *espassword*  and *esotpsecret*  and *esalias*  OR
   6. aztstenantid and aztsclientid and aztsclientsecret and aztsendpoint and aztsaccount and aztsprofile OR
   7. azkvtenantid and azkvclientid and azkvclientsecret and azkvaccount and azkvkeyname
2. Does not support .NET binaries. Use Microsoft's signtool instead.
3. Does not support binaries that are larger than 2GB.
4. Binary signing is not supported on Linux.

**Example**

Sample Usage

```json theme={null}
dotnet Solid.Signer.Console.dll --source=c:/temp/gameLauncher.exe --target=c:/output/gameLauncherSigned.exe --pkcs12=c:/certificate/ssntesting.pfx --password=password --timestamp=http://timestamp.verisign.com/scripts/timstamp.dll --datastore
```

PKCS#11

To get the serial number you can use a tool such as [Pkcs11Admin](https://www.pkcs11admin.net/).

```json theme={null}
dotnet Solid.Signer.Console.dll --source=c:/temp/gameLauncher.exe --target=c:/output/gameLauncherSigned.exe --pkcs11uri="pkcs11:serial=SS0123456789;object=key_633559480?module-path=C%3A%5CProgram%20Files%5CDigiCert%5CDigiCert%20Keylocker%20Tools%5Csmpkcs11.dll"
```

**Apple Developer Certificates**

On Macintosh, non-Apple Developer certificates can be used to sign targets, however it will result in messages on some versions of OS X about being signed by an "unknown developer". To solve the problem, you must sign the target with an Apple Developer certificate that has been exported from OS X with its full certificate chain:

1. In KeyChain Access, import the Apple Developer certificate
2. Copy the following certificates from System Roots to the keychain where your Apple Developer certificate resides
   1. Apple Root CA
   2. Developer ID Certification Authority
3. Select the previous 2 certificates and your Developer ID Application certificate
4. In the application menu select File and then Export items..
5. Save the certificate

Sample Usage

```json theme={null}
 
```

### Transfer

The transfer tool can be used to manipulate local and remote file systems. Due to constraints imposed by the supported uri schemes, transfer does not sync empty directories.

Transfer Console Usage

```json theme={null}
dotnet Solid.Transfer.Console.dll [options]
```

* All options are preceded with double hyphens --

| Option | Description |
| - | - |
| config=VALUE | Uri to additional config file (Merged with existing configuration) |
| copy | `c:\test\test.txt s3://bucket/test.txt c:\test\test2.txt s3://bucket/test2.txt <blank line here>` |
| delete | `c:\test\test.txt <blank line here>` |
| dump | `c:\test\test.json` |
| help | Show usage information |
| log=VALUE | Logging options (json, thread, stack) json - Output messages wrapped in JSON format thread - Show thread id of each message stack - Show stack trace on exceptions minify - Minify log messages |
| list | `c:\test\test.txt c:\test2\ <blank line here>` |
| put | `ewogICJhYmNkIjogImVmZ2giCn0K c:\work\test.json WyJ0ZXN0Il0K c:\work\test2.json <blank line here>` |
| requests=VALUE | Number of concurrent requests (0 = 1 request per logical processor) |
| sync | `c:\test\ s3://bucket/ <blank line here>` |

#### Delete options

| Name | Description |
| - | - |
| base | root directory (top level directory to stop deleting at), using this will remove empty directories automatically |

#### List options

| Name | Description |
| - | - |
| hidden | include hidden files |
| ignore404 | don't retry on file not found |
| system | include system files |

#### Sync options

| Name | Description |
| - | - |
| dryrun | Display operations but don't perform them |
| exclude=VALUE | Semicolon delimited list of exclude wildcard filters |
| hidden | Include hidden files |
| include=VALUE | Semicolon delimited list of include wildcard filters (Default: \*) |
| overwrite | Force file overwrite |
| system | Include system files |

Sample Usage

```json theme={null}
Command Line:
  dotnet Solid.Transfer.Console.dll --copy
Input:
  c:\test\test.txt
  s3://bucket/test.txt
  c:\test\test2.txt
  s3://bucket/test2.txt
  <blank line here>
```

### Update path

The update path tool is used to create an update path.

Release Console Usage

```json theme={null}
dotnet Solid.UpdatePath.Console.dll [options]
```

* **Bold**  values indicate required parameters
* *Italic* values indicate required parameters for delta creation
* All options are preceded with double hyphens --

| Option | Description |
| - | - |
| **source=VALUE** | Set base path for the source files |
| **sourcemetafile=VALUE** | Location of the source content metafile |
| **target=VALUE** | Set base path for the target files |
| **targetmetafile=VALUE** | Location of the target content metafile |
| *output* =VALUE | Output path for delta files (Required to create deltas) |
| *sourceindex* =VALUE | Location of the source content index file (Required to create deltas) |
| config=VALUE | Uri to additional config file (Merged with existing configuration) |
| help | Show usage information |
| log=VALUE | Logging options (json, thread, stack) json - Output messages wrapped in JSON format thread - Show thread id of each message stack - Show stack trace on exceptions minify - Minify log messages |
| mask | Generate mask for update path |
| outputcatalog=VALUE | Output path for catalog |
| outputflags=VALUE | flags used when saving pieces (gzip, aes256) |
| outputpassword=VALUE | Password used to encrypt piece |
| outputpublish=VALUE | Client-facing download url |
| requests=VALUE | Number of concurrent requests (0 = 1 request per logical processor) |
| sourceflags=VALUE | Flags used when loading pieces (gzip, aes256) (Only used in deprecated raw piece format) |
| sourcepassword=VALUE | Password used to decrypt source content pieces |
| sourcetype=VALUE | Release source type (piece/file) |
| targetflags=VALUE | Flags used when loading pieces (gzip, aes256) (Only used in deprecated raw piece format) |
| targetpassword=VALUE | Password used to decrypt target content pieces |
| targettype=VALUE | Release target type (piece/file) |

Sample Usage

```json theme={null}
dotnet Solid.UpdatePath.Console.dll --mask --output=c:/gameoutput/ --sourcemetafile=c:/work/game0.json --sourceindex=c:/work/game0.index  --source=c:/game/0/ --sourcetype=file --targetmetafile=c:/work/game1.json --target=c:/game/1/ --targettype=file --outputflags=gzip
```

## HTTP/HTTPS configuration

Hypertext transfer protocol offers secure (https) and unsecure (http) file transfers across networks.

| Property | Type | Description |
| - | - | - |
| debug | Boolean | Send request/response information to debug output. (Log must be set to debug to see output) (Default: false) |
| timeout | Integer | Number of seconds before request timeout (Default: 60) |

```json theme={null}
...
    http:
        debug: true
...
```

## Proxy configuration

If the use of a proxy server prevents access to the internet, the following can be added to the solid.config.yaml file:

Config File Additions

```json theme={null}
...
    proxy:
        address: "http://your-proxy-server.com",
        password: "your-proxy-password",
        user: "your-proxy-username"
...
```

## Protocol configuration

Protocols can be configured in the solid.config.yaml in the application directory

Schema

```javascript theme={null}
...
    protocol:
        host:
            <protocol options>
...
```

### S3

Amazon's Simple Storage Service provides storage through web services interfaces. Host refers to the s3 bucket name. Regions can be changed by modifying the serviceUrl.

| Property | Type | Description |
| - | - | - |
| accessKey | String | AWS user access key (Default: AccessKey stored in the AWS named profile) |
| profile | String | Profile used in aws credentials file when access key/secret key aren't provided. ([https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)) (Default: default) |
| publishFormat | String | Optional url redirection when downloading files (uses string expander with added variables). authority: Host name of the original url including port (if not default port) localPath: Local path of the original url original: Original url |
| secretKey | String | AWS user secret key (Default: SecretKey stored in the AWS named profile) |
| serviceUrl | String | S3 service endpoint (Default: [https://s3.us-east-1.amazonaws.com/](https://s3.us-east-1.amazonaws.com/)) |
| sessionToken | String | AWS session token (Default: None) |
| timeout | Integer | Connection timeout in seconds (Default: 30) |
| useAccelerateEndpoint | Boolean | Use AWS accelerated endpoint (Default: false) |
| useDualstackEndpoint | Boolean | Use AWS dual stack endpoint (Default: false) |

### Example

```javascript theme={null}
...
    s3:
        sn-test-bucket:
            accessKey: "ABCDEFGHI",
            secretKey: "JKLMNOPQRSTABC"
...
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.