GoogleCloudPlatform / GoogleCloudPlatform/gsutil

Not able to use gsutil rsync to sync local dir to s3 bucket

Open
#1,738 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

ubuntu@newhost:~/data$ gsutil -m rsync -r global s3://ax-global
**CommandException: The rsync command requires at least 2 arguments. Usage:

gsutil rsync [OPTION]... src_url dst_url**

For additional help run:
gsutil help rsync
ubuntu@newhost:~/data$

i am able to list the buckets folder with gsutil ls s3://ax-global

Used cmd:
gsutil -m rsync -r global s3://ax-global
gsutil -m rsync -ri global s3://ax-global
gsutil rsync -r global s3://ax-global
gsutil rsync global s3://ax-global
gsutil rsync ./global s3://ax-global
gsutil -m rsync -r ./global s3://ax-global/
gsutil rsync ./global s3://ax-global/

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported `gsutil -m rsync -r ./global s3://ax-global/` command and compare its argument parsing with the `gsutil rsync` usage shown in the report. Done means identifying why the two supplied paths are rejected and confirming a working local-directory-to-S3 synchronization command.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.