The aws s3 sync
command is already recursive, so there is no need for a recursive option, and there isn't one:
Syncs directories and S3 prefixes. Recursively copies new and updated
files from the source directory to the destination. Only creates
folders in the destination if they contain one or more files.
In addition the sync
command only copies things that don't already exist on the destination. If you point to a folder it will recursively sync everything inside that doesn't already exist on your target destination. This is different then the aws s3 cp
command. The cp
command copies whatever you tell it to, regardless of it it already exists on the target. The cp
command takes a --recursive
option for recursively copying folders.
--recursive
parameter, considering the documentation – Cid