Skip to content

Instantly share code, notes, and snippets.

View charlesfg's full-sized avatar

Charles Ferreira Gonçalves charlesfg

  • University of Coimbra
  • Coimbra
View GitHub Profile
@charlesfg
charlesfg / upload-to-rackspace-cloud-file.sh
Created October 18, 2011 14:06 — forked from chmouel/upload-to-rackspace-cloud-file.sh
Upload to RackSpace CloudFiles from shell with curl.
#!/bin/bash
# Author: Chmouel Boudjnah <chmouel.boudjnah@rackspace.co.uk>
# Not officially supported by Rackspace only as a best effort basis :)
# Define yes to make it to copy to url to clipboard (via a shortened url
# service) You need to have the software xclip installed in your system.
COPY_URL_TO_CLIPBOARD=yes
# Containers to ignore in the list
CONTAINERS_TO_IGNORE=".CDN_ACCESS_LOGS"