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