ls
To list the content of a bucket:
sh
s3m ls <s3 provider>/<bucket>
TIP
If using Cloudflare R2 you need to pass the prefix (option -p, --prefix
), for example:
sh
s3m ls <r2>/<bucket>/ -p "test"
To list available buckets:
sh
s3m ls <s3 provider>
To list in-progress multipart uploads:
sh
s3m ls <s3 provider>/<bucket> -m