list-s3-files

Lists files in one S3 bucket This command queries Amazon’s S3 service for the list of files in a bucket, specified using the --bucket flag. The login and password for S3 must be set using the --access-key and --secret-key flags, unless defaults have been set in the Virtualmin configuration. By default output is in a human-readable table format, but you can switch to a more parsable output format with the --multiline flag. Or to just get a list of filenames, use the --name-only flag.

Lists files in one S3 bucket#

This command queries Amazon’s S3 service for the list of files in a bucket, specified using the --bucket flag. The login and password for S3 must be set using the --access-key and --secret-key flags, unless defaults have been set in the Virtualmin configuration.

By default output is in a human-readable table format, but you can switch to a more parsable output format with the --multiline flag. Or to just get a list of filenames, use the --name-only flag.

Command line help#

virtualmin list-s3-files [--multiline | --name-only]
 [--access-key key]
 [--secret-key key]
 --bucket name

Source: https://www.virtualmin.com/docs/development/api-programs/list-s3-files/

  • virtualmin, log, command line, list, files
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...