Package: turbolift
Date:2013-09-05 09:51tags:rackspace, upload, mass, Cloud Files, files, apicategory:*nixTurbolift Files to Rackspace Cloud Files -Swift-General OverviewIf you have found yourself in a situation where you needed or wanted to upload a whole bunch of files to Cloud Files
quickly, this is what you are looking for. Turbolift is an assistant for uploading files to the the Rackspace Cloud
Files Repository with a bunch of options.You’ll also probably want to readThe Rackspace Cloud Files API guide(PDF) :
The guide will provide you an overview of all of the available functions for Cloud Files.The Process by which this application works is simple. All you have to do is Literally fill in the command line
arguments and press enter. The application is a multiprocessing Cloud Files Uploader which will upload any directory
or file provided to it.Functions of the Application :Upload a directory, (recursively)Upload a single fileUpload a local directory (recursively) and sync it with a Cloud Files ContainerDownload a Container to a local directoryDownload changed objects from a Container to a local directoryCompresses a Local Directory, then uploads itList all ContainersList all Objects in a ContainerDelete an Object in a ContainerDelete an entire ContainerClone one Container in one region to another Container in the same or Different Region.Set Custom headers on Objects/ContainersTurbolift can be managed with a config file. The option--system-configreferences a config file.
Additionally, the Environment VariableTURBO_CONFIGcan be used to reference a config file as well.
All of Turbolift’s options can be set in the config file. This makes managing Turbolift very simple.Please readcommand_line_argsfor more information on Command Line Arguments and functions.If you would like to setup Turbolift to use an environment variable file I would recommend you have a look at theturboliftrc_examplefile and theenvironment_varsdocument.Please also review theTurbolift Wikifor more information.Prerequisites :For all the things to work right please make sure you havepython-dev.All systems require thepython-setuptoolspackage.Python => 2.6 but < 3.0A File or some Files you want uploadedInstallation :Installation is simple:git clone git://github.com/cloudnull/turbolift.git
cd turbolift
python setup.py installInstallation NOTICE :If you are installing on a system that is not Running Python => 2.6 but < 3.0, please review the documentINSTALL_EMBED. This is a tested installation of Turbolift on Ubuntu 8.04, which ships with Python 2.5. The guide is a simple walk through for compiling stand alone python and installing Turbolift in that stand alone installation.Python Modules Needed, for full operation :NOTE : All of the modules needed should be part of the “standard” Library as of Python 2.6.  The setup file will
install the two needed dependencies which may not have made it onto your system.Application UsageHere is the Basic Usageturbolift-u[CLOUD-USERNAME]-a[CLOUD-API-KEY]--os-rax-auth[REGION]upload-s[PATH-TO-DIRECTORY]-c[CONTAINER-NAME]Runturbolift-hfor a full list of available flags and operationsTurbolift can easily be set to run on via script or as a CRON job, please see,turbolift_example_scriptfor more ideas / information on using Turbolift as a script.Systems Tested onThe application has been tested on :Debian 6Ubuntu 10.04 - 12.04Mac OS X 10.8CentOS[RHEL] 6For information on Benchmarks from my own testing, please have a look here at thebenchmarksfile.Turbolift is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. The License in service for this program is GPLv3. please seehttp://www.gnu.org/licenses/gpl-3.0.txtfor more information.