I need to download the directory tree of a folder in a bucket recursively, with the caveat of not downloading any of the files themselves (they are large). This is what I have so far:
s3cmd --dry-run --recursive --no-delete-removed --verbose --rinclude='^[^.]*$'
--rexclude='[^.]*$' sync s3://bucket_name/folder/ ~/Downloads/local_folder/
which correctly skips the files, but it isn't downloading the folders.
Here are some related questions I found