https://rclone.org/s3/#s3-no-check-bucket > `--s3-no-check-bucket` > If set, don't attempt to check the bucket exists or create it. > It can also be needed if the user you are using does not have bucket creation permissions.
Unified · Split
| @@ -210,7 +210,7 @@ class DocsCLI < Thor · 209 unmodified lines | ||
| 210 | 210 | cmd << ' --dryrun' if options[:dryrun] |
| 211 | 211 | if options[:rclone] |
| 212 | 212 | puts "[S3 bundle] Uploading #{filename} using rclone..." |
| 213 | − cmd = "rclone copy #{File.join(Docs.store_path, filename)} devdocs:devdocs-downloads/" | |
| 213 | + cmd = "rclone copy #{File.join(Docs.store_path, filename)} devdocs:devdocs-downloads/ --s3-no-check-bucket" | |
| 214 | 214 | cmd << ' --dry-run' if options[:dryrun] |
| 215 | 215 | end |
| 216 | 216 | system(cmd) |