1

I have this command gsutil rsync -r -x '".*.jpg$"' File Share\data\Home Drive gs://sdefs01/Home Drive

this is to exclude any .jpg file to be copied to my google bucket.

however, it returns an error:

commandexceptions: the rsync command accept at most 2 arguments.

the command example that I refer to is from google cloud support page.

please help.

1 Answer 1

2

You need to put the source directory path inside double quotes as it contains spaces.

Not the answer you're looking for? Browse other questions tagged or ask your own question.