Hi, with this command, I get only the file called OUTPUT (in reality I have many more --include flags) - so works as expected:
os.system("rsync --rsh=ssh -arvuP --include='OUTPUT' --exclude='*' user@host:there/ ./here")
In this case, the --include and --exclude flags are ignored:
subprocess.call("rsync --rsh=ssh -arvuP --include='OUTPUT' --exclude='*' user@host:there/ ./here".split())
I wonder what I am doing wrong? Thank you much!
Edit: Sorry, this is on OS X Leopard, and I get all the files...