Why this doesn't work??

2006-02-25 Thread Matias Surdi
Hi. I can't get to work the excludes in this command: rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude '/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/' --exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude '/home/msurdi/.thumbnails/' gaia:/

Re: Why this doesn't work??

2006-02-25 Thread Matt McCutchen
On Fri, 2006-02-24 at 23:52 +0100, Matias Surdi wrote: rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude '/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/' --exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude '/home/msurdi/.thumbnails/' gaia:/

Re: Why this doesn't work??

2006-02-25 Thread Matias Surdi
Matt McCutchen escribió: On Fri, 2006-02-24 at 23:52 +0100, Matias Surdi wrote: rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude '/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/' --exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude

Re: Why this doesn't work??

2006-02-25 Thread Wayne Davison
On Sun, Feb 26, 2006 at 12:49:41AM +0100, Matias Surdi wrote: I mean, exclude /proc/* but in the destination location have an empty /proc dir. Your question contains the answer: --exclude='/proc/*' ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync

Re: Why this doesn't work??

2006-02-25 Thread Matias Surdi
Wayne Davison escribió: On Sun, Feb 26, 2006 at 12:49:41AM +0100, Matias Surdi wrote: I mean, exclude /proc/* but in the destination location have an empty /proc dir. Your question contains the answer: --exclude='/proc/*' ..wayne.. So, the complete answer is that I can use in the same

Re: Why this doesn't work??

2006-02-25 Thread Wayne Davison
On Sun, Feb 26, 2006 at 01:18:25AM +0100, Matias Surdi wrote: So, the complete answer is that I can use in the same command --include '/proc' --exclude '/proc/*' right? Everything is included by default, so as long as you don't use an exclude rule that matches /proc, you don't need that