User Tools

Site Tools


how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive

How to use S3CMD to upload media files to the Internet Archive

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. Generate your keys for the S3 API
  2. Create .s3cfg in your home directory:
    .s3cfg
    access_key = KEY
    secret_key = KEY
    host_base = s3.us.archive.org
    host_bucket = %(bucket)s.s3.us.archive.org
  3. Use s3cmd to create a bucket and upload media files:
    # make a bucket
    sm3cmd mb s3://foo-$$
    Bucket 's3://foo-29515/' created
    
    # upload all MP3 files in the current directory
    for F in *.mp3; do s3cmd put $F s3://foo-29515/$F; done

Done!

$Id: s3cmd_archive.html,v 1.3 2012/02/17 20:38:42 jboy Exp $ How to use S3CMD to upload media files to the Internet Archive - traditional link (using RCS)

how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive.txt · Last modified: 2021/03/20 20:02 by hc9