badsyntax/AWS S3 Sync & Clean

Sync or clean an S3 bucket using parallel uploads and intelligent ETAG comparisons (even for multipart files).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
bucketThe name of the S3 bucketyes
actionThe action to perform. Accepted values: sync|cleanyes
src-dirSource directory of local files to sync (if using the sync action)no""
files-globGlob pattern for source files to sync to S3 (if using the sync action)no""
aws-regionThe AWS region. For example: us-east-1
prefixThe prefix for the uploaded object. For example: 'custom/folder'""
sync-strategyA newline-separated list of criteria to define the sync strategy. Criteria include: ETag, ContentType, CacheControl, LastModified, ContentLengthnoETag ContentType CacheControl
strip-extension-globGlob pattern to strip extension (f using the sync action). For example: '**/**.html'""
cache-controlCache-control header. For example: public,max-age=31536000,immutable""
acl"authenticated-read" | "aws-exec-read" | "bucket-owner-full-control" | "bucket-owner-read" | "private" | "public-read" | "public-read-write"no""
multipart-file-size-mbThe minimum file size, in megabytes, for which to upload files using multipart. The default is 100no100
multipart-chunk-bytesThe chunk size, in bytes, to upload multipart file parts in. The default is 10485760 (10MB)no10485760
concurrencyHow many processes to perform at once. Default is 6no6
namedescription
modified-keysA comma separated list of modified object keys (either synced or removed). For example: file1,folder1/file2.ext