It does have sub-directories...but I have tried a variation of things...this is on a WinBlows Machine...so I have a batch file with this:
set PATH=c:/BackupFiles;%PATH% set CYGWIN=binmode tty set TERM=ansi set USERNAME=testuser set HOME=c:/BackupFiles/home/testuser set RSYNC_RSH=ssh.exe rsync -rav -e ssh \BackupFiles\Backup\%count%\ [EMAIL PROTECTED]: I have used the line --include="BackupFiles\Backup\%count%\ --include="BackupFiles\Backup\%count%\*.gpg --exclude="*" I have also tried to use a --include-from txt file with the above and --include='*/' added before the exclude...still doesn't work..I am sure my syntax is WRONG somewhere, but I spent all night trying all sorts of variations with no luck... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Davison Sent: Thursday, March 10, 2005 8:38 PM To: jediknight2 Cc: rsync@lists.samba.org Subject: Re: Rsync to upload certain files and ignore others 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%\ > [EMAIL PROTECTED]:\%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.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html