I've been trying to change all the files inside a folder to private without success. I want to use CLI because I am not a coder and I tried this code without success:
s3cmd setacl --acl-private --recursive s3://bucket-name/folder1/folder2/
And I am getting a "command not found". Any insights on this?