edjx file update

Updates the metadata for a specific file.

You must know the file name to execute this command.
edjx file update <file-name> [flag]

Argument

file-name         Name of the file to be updated.

Flags

-b, --bucket <bucket-id>                Optional. ID of the bucket associated with the file. Overrides the current bucket.
-c, --custome-headers <string>          Optional. Vertical Bar(|) separated string of custom headers of the form header::value. Enclose the string in double quotes.
-r, --remove-headers [true | false]     Optional. Remove (true) all exisiting custom headers. Default is false.
-v, --version <version-id>              Optional. Version ID of the default version.

Example

  1. List the files in the bucket.

    root@edjx:~ # edjx file list
  2. Take note of the file name.

  3. Issue the update command as needed.

    root@edjx:~ # edjx file update <file-name> [flags]