Skip to content

bt1/s3syncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

S3 Syncer

A Linux based tool for syncing your local files with Amazon S3. This syncer attempts to create a new bucket in S3 and sync your files in a specific folder with that bucket.

Prerequisites

-s3cmd (sudo apt-get install s3cmd)
-crontab
-an Amazon Web Service account, which can be obtained at http://aws.amazon.com 

Instructions

Simply download the file, s3syncer.cpp, and compile it using g++ (sudo apt-get install g++) by running: 'g++ s3syncer.cpp -o s3syncer

Run s3syncer with: './s3syncer' and follow the instructions.

If successfully configured, your folder with the files should be available in your S3 account. If you add a new file to your folder locally, it should automatically sync to your s3 account.

Customizations

By default, the syncer checks your folder every minute for updates. Since this syncer uses crontab, you can easily modify the time and date at which the syncer checks. This can be accomplished by modifying the crontab configuration file. This is done by running: 'crontab -e'

Select an editor and modify the file accordingly:

About

Linux tool for syncing files with Amazon S3 using s3cmd and crontab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published