exclude all but specifice files in dir

Harry Putnam reader at newsguy.com
Thu Feb 16 00:33:54 GMT 2006


Wayne Davison <wayned at samba.org> writes:

> On Tue, Feb 14, 2006 at 03:09:48AM -0600, Harry Putnam wrote:
>>   - /.kde*
>
> That doesn't exclude anything, since you already included things that
> match that.  You should be using "- *" to exclude everything else other
> than what was explicitly included.
>
> ..wayne..

I see your point, but what effect will `- *' have on the rest of the
file I didn't post... see below.  Can I do something that is isolated
to ~/.kde?

*~
.[a-zA-Z]~
.[a-zA-Z]*.sw[po]
*.bak
"#.*"
# .kde*/
# + .kde*/share/apps/konqueror/bookmarks.xml
drafts/
marks/
log/
.spamassassin/
.mozilla/firefox/*.default/Cache/
/no_bak
/projects
/spool


More information about the rsync mailing list