I am uploading a webpage to my server and I just want rsync to ignore 3 things: .git / folder, my .gitignore file and my TODO. I tried server formats. My last command:
rsync -avz --include "*" --exclude .git/ --exclude .gitignore --exclude TODO --del ariela@pc01 :/home/web/taskadmin /home/web/tests/
However, all junk files are still copied. I do not understand. What am I doing wrong?
source share