The get command downloads a file or directory in an S3 bucket.
Usage
s3Cli get <s3_path> [local_path]
Arguments
| Name | Required | Description |
|---|
s3_path | Yes | S3 bucket name and filename |
local_path | No | Local path to save an S3 file |
In the s3_path, don’t include prefixes such as s3://, s3a://, and s3n://.
Only specify the bucket name and filename.
Global options
| Name | Shorthand | Data type | Description |
|---|
--help | -h | N/A | Show help message and exit |
--config | -c | String | Path to Hadoop’s core-site.xml file |
--jceks-dir | -j | String | Directory containing JCEKS files |
--ranger-classpath | -r | String | Path to Ranger’s JAR files |
--user | -u | String | Username for Ranger authorization |
--verbose | -v | N/A | Verbose logging |