Re: include and exclude file

2006-04-15 Thread Matt McCutchen
On Sat, 2006-04-15 at 02:58 -0400, Marc Collin wrote: would like to backup kmail and kwalet in my include file i do: .kde/share/apps/kmail/ .kde/share/apps/kwallet/ This is a very common problem that people encounter with includes. If you exclude .kde, rsync won't even go inside, so it

Re: include and exclude file

2006-04-15 Thread Marc Collin
Le Samedi 15 Avril 2006 11:39, Matt McCutchen a écrit : This is a very common problem that people encounter with includes. If you exclude .kde, rsync won't even go inside, so it won't notice that .kde/share/apps/kmail is included. There are three solutions. I give example filter files that

Re: include and exclude file

2006-04-15 Thread Matt McCutchen
On Sat, 2006-04-15 at 14:05 -0400, Marc Collin wrote: Variant 1 (at each level, tell rsync not to stray from the path): + .kde/ - .* + .kde/share/ - .kde/* + .kde/share/apps/ - .kde/share/* + .kde/share/apps/kmail/ + .kde/share/apps/kwallet/ - .kde/share/apps/* Variant 2