Last active
April 27, 2019 13:24
-
-
Save christophchamp/7375339 to your computer and use it in GitHub Desktop.
Upload multiple files to Rackspace Cloud Files using Linux CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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
initproject.bromstrokernow