This command needs a source path and a destination path: aws s3 sync <source> <destination> --endpoint-url https://cs2.cynnyspaces3.com
Possible source-destination combinations are:
Local file system to S3 Bucket;
S3 Bucket to local file system;
The following example synchronizes the contents of a local folder named test-upload in a bucket named testnewbucket.
S3 sync updates any files that have a different size or modified time than files with the same name at the destination.
The output displays specific operations performed during the sync.