Order matters. --include overrides --exclude listed later. So, your
exclude is nullified by both of your includes. So move the exclude
before the includes. Of course then your includes will be irrelevant so
just remove them unless you are leaving out details.
On 12/28/19 9:15 PM, H via rsync
I am having problems getting a . directory in a subdirectory to be excluded
when rsyncing. I am using rsync 3.1.2 on CentOS 7 and the command line is:
# all files from ~/bin/ and I use want to exclude the directory
~/bin/docker/.git
rsync -vHrltDium -c --chmod=Du+rwx,go-rwx,Fu+rw,go-rw --no-p
Hello all,
I'm using rsync over a fairly expensive satellite network that has
intermittent connectivity and a lot of packet loss. I'm getting a lot
of corrupted file names, which is making me wonder if this is just the
one in 64k-odd packets that are corrupted with a matching TCP checksum
or if t