you should adjust your format to the following:
Code:
--exclude-from=/path/to/excludes.txt
again you need to put into the excludes.txt a + or - then a file name/type that you want to add, ignore in the rsycn. also use the full path to the excludes.txt file, not just =excludes.txt as that may or may not work. the full path will always work.
you can add some variables to your script to address the pathing as that is typically what i do.
Code:
HOMEDIR="$HOME"
rsync -aviS --exclude-from=${HOMEDIR}/excludes.txt source/ destination/
my excludes on some systems looks roughly like this:
Code:
- *.tar
- *.tgz
- *.bz2
- *.bz
- *.google*
- *.mozilla*
as you can see this will tell rsycn to never copy over any of those types of files. in your case you would add the + config.txt to the excludes.txt file.