Originally designed as a code library for a larger project, this contains all the tools needed to do basic single-user file management on S3. Also includes a standalone hmac script to make up for the lack of hmac functionality exposed in the openssl command interface. Only tested on Ubuntu 7.10, should work in any recent UNIX environment that has curl and openssl installed.
Installation: Download, unpack, and copy the s3 and hmac commands to a location in your path.
Usage:
UPDATED: Replaced GNUism in using the date(1) command, and replaced use of the non-POSIX stat(1) command with wc(1). This should greatly improve cross-platform portability.
Installation: Download, unpack, and copy the s3 and hmac commands to a location in your path.
Usage:
- s3 ls bucket -- lists the contents of a bucket
- s3 put bucket file -- uploads file into bucket using the same name.
- s3 get bucket file -- downloads file from bucket using the same name.
- s3 rm bucket file -- deletes a file on S3
- s3 rmrf bucket -- deletes all files from bucket.
UPDATED: Replaced GNUism in using the date(1) command, and replaced use of the non-POSIX stat(1) command with wc(1). This should greatly improve cross-platform portability.