Hello,
I'm currently running into issues with a couple filter rules in my Rsync script and wondering if you guys could help me out.
(Syncing directory/sub & files and trying to exclude test.txt and logs directory.)
1)rsync.exe --recursive --stats --progress --bwlimit=0 --port=873 --filter="+ */","- test.txt","- /logs/","- *" ~souce/ ~dest/
(Trying to mirror and delete anything in the Docs/Work/(Sub directorys & files)... that isn't on the server and also exclude the files test.txt & test.xml)
2)rsync.exe --recursive --stats --process --bwlimit=0 --port=873 --delete --delete-delay --force --filter="+ /Docs/Work/**","- test.txt","- test.xml","- *" ~souce/ ~dest/
EDIT1: Mirror the files/directories starting in the /Work/Docs/
(Trying to only delete the file test.txt located in the Docs/Work/... directorys/subs).
3)rsync.exe --recursive --stats --process --bwlimit=0 --port=873 --delete --delete-delay --force --filter="+ /Docs/Work/**","+ test.txt","- test.xml","- *" ~source/ ~dest/
EDIT1: Delete any test.txt file but excluding any test.xml file starting in the /Docs/Work/Folder/folder/folder...
Thanks,
~Zec
Anyone?