Why wont this rsync exclude not work?

Red Squirrel

No Lifer
May 24, 2003
71,306
14,082
126
www.anyf.ca
I have the following script:

Code:
echo "Syncing to AoV Prod:"
echo "---------------"
rsync -rv --checksum --exclude-from="syncexcludes_src.txt" "src/" "aovuser@aovdb.loc:/localdata/aov/aovprod/src/"
echo "---------------"
echo "Excluded these files from syncexcludes_src.txt:"
echo
echo "----"
cat syncexcludes_src.txt
echo "----"

The src folder is in the same folder as it and it is run from there.

In the syncexcludes_src.txt file I have the following:

Code:
localconfig/ 
runuo.exe

The runuo.exe file does not get copied over so that one works, but the localconfig folder does. WTF? Why is it ignoring that particular entry? Is there a way to make this work?


Edit: I meant to post this in Linux section, can it be moved? Thanks.
 
Last edited: