Rsync to upload certain files and ignore others

Wayne Davison wayned at
Fri Mar 11 01:38:21 GMT 2005

On Thu, Mar 10, 2005 at 05:20:49PM -0800, jediknight2 wrote:
> I have tried this
> rsync -rav -e ssh --include='*.gpg' --exclude='*' \Backup\%count%\
> testuser at\%count%\

Are there subdirectories involved?  The man page talks about how you
need to specify --include='*/' in that situation (check it out for full


More information about the rsync mailing list