Description
rackspace-cloudfiles.sh is a bash script that provides command-line interface to Rackspace Cloud Files and includes multi-region support.
Usage
rackspace-cloudfiles.sh [options] [FILE] ...
Command-line interface to Rackspace Cloud Files for API v1.1
-u USERNAME username
-k API_KEY API key
-a AUTH_URL authentication URL
-s use ServiceNet
-r region (ORD, DRW)
-c CONTAINER Cloud Files container
-x REQUEST request (PUT)
-q quiet mode
Examples
Creating a new container:
rackspace-cloudfiles.sh -u USERNAME -k API_KEY -r ORD -x PUT -c NEW_CONTAINER
Uploading file into a container:
rackspace-cloudfiles.sh -u USERNAME -k API_KEY -r ORD -x PUT -c CONTAINER /path/to/file
Credits
This script was inspired by script written by Chmouel Boudjnah
Download
rackspace-cloudfiles.sh on GitHub
Copyright
Michael Ryvkin,
License
GNU General Public License, gnu.org/licenses/gpl.html