put command transfers a file into an S3 bucket.
Arguments
Arguments
local_pathstringrequired: Local path to a file.s3_pathstringrequired: S3 bucket name.
In the
s3_path, don’t include prefixes such as s3://, s3a://, and s3n://.
Only specify the bucket name.Option
Option
--recursive-roptional Uploads a directory recursively.
Global options
Global options
--help-hoptional: Shows help messages and exits.--config-cstringoptional: Path to Hadoop’score-site.xmlfile.--jceks-dir-jstringoptional: Directory containing JCEKS files.--ranger-classpath-rstringoptional: Path to Ranger’s JAR files.--user-ustringoptional: Username for Ranger authorization.--verbose-voptional: Verbose logging.