feature request: exclude from path

Andy Smith andy at strugglers.net
Sun Aug 2 14:19:57 UTC 2020


Hi Matt,

On Sat, Aug 01, 2020 at 10:10:49PM -0400, Matt Stevens via rsync wrote:
> I lack development skills. Would there be a way for rsync to be passed an
> option to exclude a specific path during a sync operaton? All of my attempts
> to use exclude have failed, as it does not respect paths, only filetypes.

The existing --exclude and filter file options work for me for this.
Maybe show us what you're doing (command line), what you expect to
happen and what actually happens?

You absolutely can exclude paths. The exclude and filter options are
very expressive. I've been doing it for years.

Cheers,
Andy



More information about the rsync mailing list