edjx file update

Updates the metadata for a specific file.

You must know the file name to execute this command.

Usage

edjx file update <file-name>
[-b, --bucket <bucket-UUID>]
[-c, --custome-headers <string>]
[-r, --remove-headers <value>]
[-v, --version <value>]

Options

Option Required Type Description

<file-name>

Yes

string

The file to be downloaded from the platform.

-b, --bucket <bucket-UUID>

No

UUID

The bucket UUID associated with the file.

-c, --custome-headers <string>

Yes

string

Vertical Bar separated string of custom headers of the form header::value.
Enclose the string in double quotes.

-r, --remove-headers <value>

No

bool

Remove (true) all existing custom headers.
Default: false.

-v, --version <value>

No

integer

ID of the version to download. Default is current version.

Global Flags

Option Required Type Description

-h, --help

No

Displays inline help for the command.

--config <file-location>

No

string

Location of client configuration file (default file path is $HOME/.edjx/.edjx.yaml).

Update a file in a bucket

  1. Select the bucket you want to view.

    edjx config bucket -i
  2. List the files in the bucket.

    edjx file list
  3. Copy the Name of the file you want to update.

  4. Execute the update command.

    edjx file update <file-name>