I wish to sync all files with names conforming to certain patterns within my home directory and two of its subdirectories. However, my rsync command & filters traverses only one of the subdirectories.
rsync -aHm --delete --include-from=/home/ftamborello/.rsync-include --exclude-from=/home/ftamborello/.rsync-exclude -e "ssh -A -t frank@frynseytv" /home/ftamborello/ :/Users/frank/Backup/
*.pdf *.lisp *.scr *.r *.txt *.csv *.py *.c *.h *.[0-9][0-9] .rsync* .autobackup.sh Documents/ fpt-logs/
Rsync command result (with -nv):
building file list ... done deleting .#fpt-log-2016.05.10 ./ .ccl-init.lisp .emacs.2016.06.17 .profile.2016.03.09 .profile.2016.08.05 .rsync-exclude .rsync-include fabfile.py output.pdf python-test.py temp.txt Documents/ fpt-logs/ fpt-logs/fpt-log-2015.12.16 fpt-logs/fpt-log-2015.12.17 ... fpt-logs/fpt-log-2016.08.19 fpt-logs/fpt-log-2016.08.22 sent 4,827 bytes received 1,130 bytes 2,382.80 bytes/sec total size is 3,213,954 speedup is 539.53 (DRY RUN)
There are quite a number of files within the Documents hierarchy that I think should match the include pattern, e.g. Documents/auto-backup-test.txt and cl-template.lisp, that rsync fails to copy.
I used this unix.stackexchange post to develop my code.
What am I missing?