Created
September 18, 2013 09:55
-
-
Save joehakimrahme/6606979 to your computer and use it in GitHub Desktop.
Create 3 files and upload them to a Swift container
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
$ cat index.html | |
<h1>Index file</h1> | |
<p>This is the index.html file.</p> | |
$ cat listing.css | |
h1 {color: red;} | |
$ cat 404error.html | |
<h1>404 File not found!</h1> | |
<p>We couldn't locate the file you're asking for.</p> | |
$ for f in index.html listing.css 404error.html; do swift upload my_public_container $f; done | |
$ swift list my_public_container | |
404error.html | |
index.html | |
listing.css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment