Complex includes/excludes with rsync
- by brianmathis
I'm trying to work out the rsync filter syntax to perform complex include/excludes, and trying to achieve the following:
Include /
Exclude /home
Include /home/user1/*
I've tried many variations on the filter syntax, and despite reading the man page many time, I cannot get this sort of effect. Rsync filters seem to be very powerful, and I find it hard to believe they couldn't handle a common scenario such as this.