I have this script to rsync my directories.
# set -xv
echo "$FILTER" | rsync -avr --dry-run --include-from=- --progress -s $HOME/ "$1"
The problem is that it is rsync'ing files that I did not include in the list. e.g., .cache dir. What is wrong with my script? Am I missing setting any excludes?