- This script assumes you have
r2
alias set for
r2='s5cmd --credentials-file ~/.config/s3/r2-config.cfg --endpoint-url https://{your bucket id}.r2.cloudflarestorage.com'
- This script uses
s5cmd
as an s3 client which can be installed usingbrew install s5cmd
, or equivalent on other systems. - Provide Replicate token