CLI Usage
When using a command, specify at least one path argument. The two-path arguments are LocalPath and S3Uri:
- LocalPath: This represents the path of a local file or directory, which can be written as an absolute or relative path.
- S3Uri: This represents the location of an S3 object, prefix, or bucket. The command form is s3://myBucketName/myKey. The path argument must begin with s3:// to indicate that the path argument refers to an S3 object.
The overall command structure is aws s3 <Command> [<Arg> …]. The following table shows the different commands with a description and an example:
![](https://epubservercos.yuewen.com/885408/19470372001455506/epubprivate/OEBPS/Images/B16061_01_32.jpg?sign=1739656005-pnDmwfYDQG1a6jtI3sM9m7ONj5BPUBGM-0-ed40c507d7a216683b4804d7027704ed)
Figure 1.32: Command list