Re: rsync 3.0.4 under cygwin: problems with --exclude

2009-08-21 Thread Alessandro Toso
Matt, thanks a lot for your comment. As a matter of fact that was the problem. My fault that I haven't read through the whole man page! Cheers Alessandro On Fri, Aug 21, 2009 at 8:06 AM, Matt McCutchen wrote: > On Tue, 2009-08-18 at 16:58 +0200, Alessandro Toso wrote: > > I'm trying to backup a

Re: rsync 3.0.4 under cygwin: problems with --exclude

2009-08-20 Thread Matt McCutchen
On Tue, 2009-08-18 at 16:58 +0200, Alessandro Toso wrote: > I'm trying to backup a disk using rsync but I need to exclude some folder. > I'm using rsync 3.0.4 under cygwin on a winxp machine. > The script that I use is: > > # # > S

Re: rsync 3.0.4 under cygwin: problems with --exclude

2009-08-19 Thread Alessandro Toso
Paul, thanks for the reply. In the real script that I use the dash between exclude and from was there and for some reason I didn't copied in the mail. That is also confirmed from the output of rsync that I've attached. # # [client] p

Re: rsync 3.0.4 under cygwin: problems with --exclude

2009-08-18 Thread Paul Slootman
On Tue 18 Aug 2009, Alessandro Toso wrote: > > rsync -auv --progress --delete --delete-excluded --log-file=$LOGDIR/`date > +%Y%m%d`.log --exclude from='/cygdrive/f/.bak_exclude' $SRCDIR/ $BCKDIR If this is your exact command, then you're excluding the file "from='/cygdrive/f/.bak_exclude'" You p

rsync 3.0.4 under cygwin: problems with --exclude

2009-08-18 Thread Alessandro Toso
Hi all, I'm trying to backup a disk using rsync but I need to exclude some folder. I'm using rsync 3.0.4 under cygwin on a winxp machine. The script that I use is: # # SRCDIR=/cygdrive/d LOGDIR=/cygdrive/f BCKDIR=/cygdrive/f/Backup