GoogleCloudPlatform / GoogleCloudPlatform/gsutil

support an rsync --delete-excluded flag

Open
#439 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

It appears the gsutil rsync -x flag (exclude), combined with -d (delete) will exclude operations on files that are in the source location and match the exclusion parameters. However, there is no way to delete the files at the destination, if they are copied, but then later added to the exclusion criteria.

Rsync has a flag --delete-excluded that adds this functionality and it would be great to see in gsutil rsync.

Thanks,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.