Skip to content

Instantly share code, notes, and snippets.

@ao
Created November 10, 2025 09:46
Show Gist options
  • Select an option

  • Save ao/07167f2a7fb4a4734d7162e170643d6b to your computer and use it in GitHub Desktop.

Select an option

Save ao/07167f2a7fb4a4734d7162e170643d6b to your computer and use it in GitHub Desktop.
generate large file and push to cloudflare r2
dd if=/dev/zero bs=1m count=1024 | AWS_DEFAULT_REGION=auto s5cmd --profile cf --endpoint-url https://xxxxxxxxxxxxxx.r2.cloudflarestorage.com pipe s3://your-bucket/largefile.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment