edjx file list versions

Lists the versions of a file in a bucket.

You must know the file name to execute this command.
edjx file list-versions <file-name> [flags]

Argument

file-name         Name of the file.

Flags

-b, --bucket <bucket-id>     Optional. ID of the bucket associated with the file.
-l, --limit <int>            Optional. Maximum number of versions to list. Default is 50.

Example

  1. List the files in the bucket.

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

  3. Issue the list-versions command.

    root@edjx:~ # edjx file list-versions <file-name>
    Total versions : 1
    Version ID                            Name           Size   Uploaded On
    f36b2c8b-7f89-459a-afbd-14dd5cb799a6  1631047296734  190 B  2021-09-07 13:41:36.734 -0700 PDT