cookbook 's3_dir', '= 1.0.1', :supermarket
s3_dir (10) Versions 1.0.1 Follow1
cookbook 's3_dir', '= 1.0.1'
knife cookbook site install s3_dir
knife cookbook site download s3_dir
This cookbook leverages s3_file to recursively download all of the files in a specified S3 "directory."
s3_dir '/local/path' do bucket 's3.bucket.name' dir 's3 directory' owner 'local_owner' group 'local_group' mode 0644 recursive true access_key_id ACCESS_KEY secret_access_key SECRET_ACCESS_KEY end
name- The local path where the files should be downloaded to
bucket- The S3 bucket name you want to download from
dir- The directory within the bucket where the files will come from
owner- What you want the local file/directory owner to be set to
group- What you want the local file/directory group to be set to
mode- File permissions. Created directories will inherit these permissions plus executability.
recursive- Whether parent directories of
nameshould be created recursively
access_key_id- AWS Access Key ID
secret_access_key- AWS Secret Key
- Fork the repository on Github
- Create a named feature branch (i.e.
- Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
Author:: EverTrue, Inc. (firstname.lastname@example.org)
|et_fog >= 1.0.5|
|s3_file >= 2.3.0|
There are no cookbooks that are contingent upon this one.