Copying a file to S3
$aws s3 cp MyFile.txt s3://my-bucket/path/Moving all files from S3
$aws s3 mv s3://my-bucket/path ./MyDirectory --recursiveRemoving a file from S3
$aws s3 rm s3://my-bucket/path/MyFile.txtSyncing current directory with a S3 bucket
$aws s3 sync . s3://my-bucket/pathDelete all contents of a bucket
$aws s3 rm s3://my-bucket/path --recursiveList all buckets
$aws s3 lsList contents of a bucket
$aws s3 ls s3://bucket-name
No comments:
Post a Comment