Name

Data::Save::S3 - Zip some files to Amazon S3

Synopsis

If you have installed the zip command and aws-cli then:

use Data::Save::S3;

my $z   = Data::Save::S3::new;
$z->zip = qq(latestCode);
$z->add = [filePathExt(currentDirectory, qw(test c)))];
$z->s3  = qq(bucket/folder);
$z->send;

produces:

cd zip && zip -mqrT DataSaveS3 DataSaveS3
aws s3 cp zip/DataSaveS3.zip s3://AppaAppsSourceVersions/DataSaveS3.zip
Completed 1.8 KiB/1.8 KiB (296 Bytes/s) with 1 file(s) remaining
upload: zip/DataSaveS3.zip to s3://AppaAppsSourceVersions/DataSaveS3.zip

Description