I've uploaded a large number of files and folders to an AWS S3 bucket via:
aws s3 cp . s3://mybucket --recursive
How can I check if the transfer was 100% successful?
I've uploaded a large number of files and folders to an AWS S3 bucket via:
aws s3 cp . s3://mybucket --recursive
How can I check if the transfer was 100% successful?
One can use
--only-show-errors
: if the transfer is 100% successful, then nothing will be output.Documentation:
Example:
One can use
sync
:It only uploads the files that are missing in the S3 bucket. No need to add
--recursive
sincesync
is always recursive.(Thanks Reddit user p0093 for mentioning the command.)