R2D2

Upload Command

Learn how to upload files to your R2 or S3 bucket using the 'upload' command.

Upload Command

The upload command allows you to quickly and easily upload files from your local machine to your configured R2 or S3 bucket.

Usage

r2d2 upload "file_path"
  • file_path: The path to the file you want to upload. This can be an absolute or relative path. Important: If the file path contains spaces, enclose it in double quotes (e.g., "My File With Spaces.txt").

Options

  • There are currently no options for the upload command itself. All configuration is handled through the configure command or by providing the R2 Account ID when prompted.

On this page