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:/
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:/
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
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
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
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