Skip to content

kevinthorley/aws-photo-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple script to sync images (or any file) to amazon s3

Usage:
ruby sync.rb s3_bucket_name dest_dir source(s)

bucket_name - Name of your Amazon S3 bucket
dest_dir - subdirectory within your S3 bucket
source(s) - one or more source directories or files to sync

Options:
--dry-run	Do not actually do the sync to S3
--include	Only process files that match the pattern
--keyword	Only process image files that have the specified keyword in their metadata (IPTC for JPEG)


This script expects Amazon keys to be available in environment variables:

export AMAZON_ACCESS_KEY_ID='abcdefghi'
export AMAZON_SECRET_ACCESS_KEY='1234567890'

About

Ruby script to backup photos to aws

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages