Swiftly is a handy utility for managed RackSpace CloudFiles containers from the Linux command line. You can easily download an entire container with a simple command line. Here’s the project page on Github:
https://github.com/gholt/swiftly
And here’s the documentation:
http://gholt.github.io/swiftly/
Installation through a package manager is as follows:
Ubuntu
- Update the apt-get database.
12sudo apt-get update - Install the Python installer, pip, using
apt-get
.
12sudo apt-get install python-pip - Install Swiftly using
pip
.
1sudo pip install swiftly
CentOS
- Install the Python installer, pip, using
yum
.
12sudo yum install python-pip - Install swiftly using
pip
.
1sudo pip install swiftly
After installation you can start transferring files. Here’s an example:
1 2 3 4 |
swiftly -A https://identity.api.rackspacecloud.com/v2.0 \ -U [username] \ -K [apikey] \ get -o [destfolder]/ --all-objects --ignore-404 [container] |
The entire [container] will be downloaded to [destfolder].
Check the Swiftly documentation for a wide range of options. You can select with precision which files to download.