how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive [2021/03/19 04:38] – hc9 | how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive [2021/03/20 20:02] (current) – hc9 | ||
---|---|---|---|
Line 3: | Line 3: | ||
Assume your band just had a show and you recorded the set and created MP3 tracks of all the songs you performed. Now you want to make those available for the whole world and for posterity. The Internet Archive is a great place to put them. Here's a way to do that from SDF in just four easy steps. | Assume your band just had a show and you recorded the set and created MP3 tracks of all the songs you performed. Now you want to make those available for the whole world and for posterity. The Internet Archive is a great place to put them. Here's a way to do that from SDF in just four easy steps. | ||
- | |1|[[http:// | + | - [[http:// |
- | |2|[[http:// | + | |
- | |3|Create '' | + | |
- | + | ||
- | <file config .s3cfg> | + | |
access_key = KEY | access_key = KEY | ||
secret_key = KEY | secret_key = KEY | ||
host_base = s3.us.archive.org | host_base = s3.us.archive.org | ||
host_bucket = %(bucket)s.s3.us.archive.org | host_bucket = %(bucket)s.s3.us.archive.org | ||
- | |||
</ | </ | ||
+ | - Use '' | ||
+ | # make a bucket | ||
+ | sm3cmd mb s3://foo-$$ | ||
+ | Bucket ' | ||
- | |4|Use '' | + | # upload all MP3 files in the current directory |
- | + | for F in *.mp3; do s3cmd put $F s3:// | |
- | # make a bucket | + | </ |
- | sm3cmd mb s3:// | + | |
- | Bucket ' | + | |
- | + | ||
- | | + | |
- | for F in *.mp3; do s3cmd put $F s3:// | + | |
Done! | Done! |
how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive.txt · Last modified: 2021/03/20 20:02 by hc9