Skip to content

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}${CONTAINER_NAME}/$i"; done


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment