Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Upload multiple files to Rackspace Cloud Files using Linux CLI
$ REGION=dfw; CONTAINER_NAME=sandbox; for i in *.png; do curl -XPUT -T $i -v -H "X-Auth-Token:$MYRAXTOKEN" -H"Content-Type: text/plain" "https://storage101.${REGION}1.clouddrive.com/v1/MossoCloudFS_ffff-ffff-ffff-ffff-ffff/${CONTAINER_NAME}/$i"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment