Re: [gentoo-user] How to exclude a directory from rsync

2010-11-28 Thread Renat Golubchyk
On Fri, 26 Nov 2010 09:02:49 +0100 Helmut Jarausch wrote: > On 11/25/10 22:51:36, Renat Golubchyk wrote: > > The man page is actually pretty clear on this issue. Quote: > > > > if the pattern starts with a / then it is anchored to a particular > > spot in the hierarchy of files, otherwise it

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-26 Thread Mick
On Thursday 25 November 2010 21:51:36 Renat Golubchyk wrote: > On Tue, 16 Nov 2010 23:01:51 + Mick > > wrote: > > On Tuesday 16 November 2010 22:26:28 Stefan G. Weichinger wrote: > > > Am 2010-11-16 22:24, schrieb Alan McKinnon: > > > > Apparently, though unproven, at 23:12 on Tuesday 16 Nove

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-26 Thread Helmut Jarausch
On 11/25/10 22:51:36, Renat Golubchyk wrote: > On Tue, 16 Nov 2010 23:01:51 + Mick > wrote: > > On Tuesday 16 November 2010 22:26:28 Stefan G. Weichinger wrote: > > > Am 2010-11-16 22:24, schrieb Alan McKinnon: > > > > Apparently, though unproven, at 23:12 on Tuesday 16 November > > > > 2010,

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-25 Thread Renat Golubchyk
On Tue, 16 Nov 2010 23:01:51 + Mick wrote: > On Tuesday 16 November 2010 22:26:28 Stefan G. Weichinger wrote: > > Am 2010-11-16 22:24, schrieb Alan McKinnon: > > > Apparently, though unproven, at 23:12 on Tuesday 16 November > > > 2010, Mick did > > > > > > opine thusly: > > >> Excellent, it

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-19 Thread Stefan G. Weichinger
Am 16.11.2010 14:28, schrieb Mick: > I ran the same as before but changed the path to the one you suggested: > > === > 'rsync -a -l -v --exclude "./System Volume Information" > -e "ssh -c blowfish -l root" /mnt/User_WinXP/ > 10.10.10.25:/home/httpd/backup' Try it with

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-19 Thread Alan McKinnon
Apparently, though unproven, at 15:28 on Tuesday 16 November 2010, Mick did opine thusly: > On 16 November 2010 09:00, Stefan G. Weichinger wrote: > > Am 15.11.2010 23:50, schrieb Mick: > >> Thanks Stefan, I'm afraid I'm still getting the same problem: > >> > >> rsync: opendir "/mnt/User_WinXP/

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-16 Thread Stefan G. Weichinger
Am 2010-11-16 22:24, schrieb Alan McKinnon: > Apparently, though unproven, at 23:12 on Tuesday 16 November 2010, Mick did > opine thusly: >> Excellent, it worked! :-) > > > Glad to hear it. > > I could help because part of my job is running a rather big public ftp mirror > that management gra

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-16 Thread Mick
On Tuesday 16 November 2010 22:26:28 Stefan G. Weichinger wrote: > Am 2010-11-16 22:24, schrieb Alan McKinnon: > > Apparently, though unproven, at 23:12 on Tuesday 16 November 2010, Mick > > did > > > > opine thusly: > >> Excellent, it worked! :-) > > > > Glad to hear it. > > > > I could help b

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-16 Thread Alan McKinnon
Apparently, though unproven, at 23:12 on Tuesday 16 November 2010, Mick did opine thusly: > > Don't think of --exclude as being a file path match, think of it as more > > a regex (usually just a literal one). It specifies a pattern that if > > found if the full pathname, results in the file not b

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-16 Thread Mick
On Tuesday 16 November 2010 14:15:00 Alan McKinnon wrote: > Apparently, though unproven, at 15:28 on Tuesday 16 November 2010, Mick did > opine thusly: > > On 16 November 2010 09:00, Stefan G. Weichinger wrote: > > > Am 15.11.2010 23:50, schrieb Mick: > > > You don't show us what you did ... > >

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-16 Thread Robin Atwood
On Tuesday 16 November 2010, Mick wrote: Try: 'rsync -a -l -v --exclude "*/System Volume Information" -e "ssh -c blowfish -l root" /mnt/User_WinXP/ 10.10.10.25:/home/httpd/backup' From "man rsync" "Note that if you don’t specify --backup-dir, (1) the --omit-dir-times option will be implied, and

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-16 Thread Mick
On 16 November 2010 09:00, Stefan G. Weichinger wrote: > Am 15.11.2010 23:50, schrieb Mick: > >> Thanks Stefan, I'm afraid I'm still getting the same problem: >> >> rsync: opendir "/mnt/User_WinXP/System Volume Information" failed: >> Permission denied (13) >> >> Why is rsync trying to open this d

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-16 Thread Stefan G. Weichinger
Am 15.11.2010 23:50, schrieb Mick: > Thanks Stefan, I'm afraid I'm still getting the same problem: > > rsync: opendir "/mnt/User_WinXP/System Volume Information" failed: > Permission denied (13) > > Why is rsync trying to open this directory, when I thought I've asked it to > exclude it? Maybe

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-15 Thread Mick
On Sunday 14 November 2010 22:47:02 you wrote: > Am 14.11.2010 22:03, schrieb Mick: > > I am not sure how to exclude a directory on an ntfs partition from > > being accessed during rsync. The attributes do not seem to be right > > and it comes up with this error: > > ==

Re: [gentoo-user] How to exclude a directory from rsync

2010-11-14 Thread Stefan G. Weichinger
Am 14.11.2010 22:03, schrieb Mick: > I am not sure how to exclude a directory on an ntfs partition from > being accessed during rsync. The attributes do not seem to be right > and it comes up with this error: > === > 'rsync -a -l -v --exclude "/mnt/User_WinXP/System Vol

[gentoo-user] How to exclude a directory from rsync

2010-11-14 Thread Mick
I am not sure how to exclude a directory on an ntfs partition from being accessed during rsync. The attributes do not seem to be right and it comes up with this error: === 'rsync -a -l -v --exclude "/mnt/User_WinXP/System Volume Information" -e "ssh -c blowfish -l root"