Rsync to upload certain files and ignore others

Wayne Davison wayned at samba.org
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 xx.xx.xxx.xx:\%count%\

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

..wayne..


More information about the rsync mailing list