Skip to content

Instantly share code, notes, and snippets.

@christophchamp
Last active April 27, 2019 13:24
Show Gist options
  • Save christophchamp/7375339 to your computer and use it in GitHub Desktop.
Save christophchamp/7375339 to your computer and use it in GitHub Desktop.
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
@theriseofthepheonixthedev

initproject.bromstrokernow

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