refer to code:
your-s3-folder-name with your specific values. The first
aws s3 sync command downloads the S3 folder's contents to the local directory, and the second one uploads the local directory's contents to the S3 folder. You can use either of these commands as needed.
Note that the
aws s3 sync command does not support excluding or including specific files like
rsync, but it will only copy new and updated files by default.