Hi,
I'm trying to copy files from my local directory to a remote site using rsync.
I want to include in the copy all the java files and exclude all the .svn directories, but I can't do it.
The command that I use is
Code:
rsync -av -e ssh --include=*.java --exclude=/.svn/ dir user@remote:~/
How can I do that?