My favorites | Sign in
Project Logo
                
Search
for
Updated May 23, 2009 by weenie
Labels: Featured
S3Arch  
Command-line script for archiving files to Amazon S3

S3Arch is a PHP CLI script which recursively archives local files to Amazon S3. It calculates MD5 hashes and never overwrites existing objects, so theoretically it should never destroy anything!

Usage

  1. Install PHP CLI.
  2. Download s3arch.php and S3.php to the folder you wish to archive.
  3. Open a command console and run:
  4. php -f s3arch.php --key <aws-access-key> --secret <aws-secret-key> --bucket <s3-bucket>

Parameters

Command-line arguments are specified in the brutishly simple syntax: --name value.

Future

References


Sign in to add a comment
Hosted by Google Code