User Tools

Site Tools


how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive [2021/03/20 20:01] hc9how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive [2021/03/20 20:02] (current) hc9
Line 11: Line 11:
 host_bucket = %(bucket)s.s3.us.archive.org host_bucket = %(bucket)s.s3.us.archive.org
 </file> </file>
- - Use ''s3cmd'' to create a bucket and upload media files: <code> +  - Use ''s3cmd'' to create a bucket and upload media files: <code> 
- # make a bucket +# make a bucket 
- sm3cmd mb s3://foo-$$ +sm3cmd mb s3://foo-$$ 
- Bucket 's3://foo-29515/' created+Bucket 's3://foo-29515/' created
  
- # upload all MP3 files in the current directory +# upload all MP3 files in the current directory 
- for F in *.mp3; do s3cmd put $F s3://foo-29515/$F; done+for F in *.mp3; do s3cmd put $F s3://foo-29515/$F; done
 </code> </code>
  
how_to_use_s3cmd_to_upload_media_files_to_the_internet_archive.1616270516.txt.gz · Last modified: 2021/03/20 20:01 by hc9