Re: rsync --exclude-from-file not working

2010-03-29 Thread Johan
On 03/28/2010 07:35 PM, Benjamin R. Haskell wrote: > On Sun, 28 Mar 2010, Johan wrote: > >> Good day, >> >> rsync does load and read the file but does not act on it. >> >> If I change the filename rsync complains. >> I must be doing something wrong. > > The paths for 'exclude-from' should be rela

Re: rsync --exclude-from-file not working

2010-03-28 Thread Benjamin R. Haskell
On Sun, 28 Mar 2010, Johan wrote: > Good day, > > rsync does load and read the file but does not act on it. > > If I change the filename rsync complains. > I must be doing something wrong. The paths for 'exclude-from' should be relative to the root directory of your source. (So, omit the '/be

Re: rsync exclude

2009-12-16 Thread Gary Montalbine
That worked. Thank you Tony. Gary Tony wrote: try: --exclude=.thumbnails/*** --exclude=tmp/*** On Dec 16, 2009, at 1:40 PM, Gary Montalbine wrote: Tony Abernethy wrote: Gary Montalbine wrote: I am trying to backup my /home directory. A friend helped me with this script: #!/bin/sh #backup

Re: rsync exclude

2009-12-16 Thread Tony
try: --exclude=.thumbnails/*** --exclude=tmp/*** On Dec 16, 2009, at 1:40 PM, Gary Montalbine wrote: > > > Tony Abernethy wrote: >> Gary Montalbine wrote: >>> I am trying to backup my /home directory. A friend helped me with this >>> script: >>> >>> #!/bin/sh >>> #backup friday >>> #"Spinning

Re: rsync exclude

2009-12-16 Thread Gary Montalbine
Tony Abernethy wrote: Gary Montalbine wrote: I am trying to backup my /home directory. A friend helped me with this script: #!/bin/sh #backup friday #"Spinning up backup drive and mounting it .." cd / mount /mnt/hd2 #"Starting backup procedures" rsync -avx --exclude="/home/gary/.thumbnails/"

RE: rsync exclude

2009-12-16 Thread Tony Abernethy
Gary Montalbine wrote: > I am trying to backup my /home directory. A friend helped me with this > script: > > #!/bin/sh > #backup friday > #"Spinning up backup drive and mounting it .." > cd / > mount /mnt/hd2 > #"Starting backup procedures" > rsync -avx --exclude="/home/gary/.thumbnails/" > --exc

Re: rsync exclude files based on filesize

2009-09-30 Thread Matthias Schniedermeyer
On 30.09.2009 08:00, Rahul Nabar wrote: > On Wed, Sep 30, 2009 at 4:41 AM, Paul Slootman wrote: > > On Tue 29 Sep 2009, Rahul Nabar wrote: > > > >> Is there a way to set rsync excludes by filesize? I already do > > > > Did you look in the manpage? > > > > "man rsync", search for "size" and the 5th

Re: rsync exclude files based on filesize

2009-09-30 Thread Rahul Nabar
On Wed, Sep 30, 2009 at 4:41 AM, Paul Slootman wrote: > On Tue 29 Sep 2009, Rahul Nabar wrote: > >> Is there a way to set rsync excludes by filesize? I already do > > Did you look in the manpage? > > "man rsync", search for "size" and the 5th hit describes it. Thanks Paul! I deserve a RTFM. Had d

Re: rsync exclude files based on filesize

2009-09-30 Thread Paul Slootman
On Tue 29 Sep 2009, Rahul Nabar wrote: > Is there a way to set rsync excludes by filesize? I already do Did you look in the manpage? "man rsync", search for "size" and the 5th hit describes it. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or

Re: rsync --exclude-from fileesclusi.txt

2006-05-18 Thread Paul Slootman
On Thu 18 May 2006, [EMAIL PROTECTED] wrote: > Hi!I want to exclude some files to transfer from my local to the remotehost, > so I created a file called fileesclusi.txt,with this lines: > > /etc/fstab > /etc/ntp.conf.predhclient > /etc/udev > /etc/openldap > /etc/gpm-root.conf > /home/copia/x.tx

Re: rsync "exclude-from"

2002-05-09 Thread Dave Dykstra
Because your source is "mail/", you need to remove the mail/ from your exclude patterns. If you used "mail" without the trailing slash then you'd need it. rsync -vv should help you debug exclude patterns. - Dave Dykstra On Sat, Apr 20, 2002 at 11:18:18AM -0400, Nikolaus Hiebaum wrote: > Hi - >

Re: rsync exclude/include

2001-11-15 Thread Thomas Schweikle
Dave Dykstra <[EMAIL PROTECTED]> on 15.11.2001 17:57:08 An: Thomas Schweikle <[EMAIL PROTECTED]> Kopie:[EMAIL PROTECTED] Thema: Re: rsync exclude/include On Thu, Nov 15, 2001 at 05:17:32PM +0100, Thomas Schweikle wrote: [...] > + /1.5.* > + /1.5.*/i386**

Re: rsync exclude/include

2001-11-15 Thread Dave Dykstra
On Thu, Nov 15, 2001 at 05:17:32PM +0100, Thomas Schweikle wrote: ... > > Wait, if i386* matches directories and not just files you'll need > > > >+ /iso > >+ /iso/1.5.* > >+ /iso/1.5.*/i386** > >- * > > > > so that it will include all files below the i386* directories. > > Any dou

Re: rsync exclude/include

2001-11-15 Thread Thomas Schweikle
Dave Dykstra <[EMAIL PROTECTED]> on 13.11.2001 17:41:22 An: Thomas Schweikle <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Kopie: Thema: Re: rsync exclude/include > On Tue, Nov 13, 2001 at 10:00:59AM -0600, Dave Dykstra wrote: > ... >> A simplification i

Re: rsync exclude/include

2001-11-13 Thread Wayne Davison
On Tue, 13 Nov 2001, Thomas Schweikle wrote: > I am calling rsync using > > rsync -avz --include-from="include" --exclude-from="exclude" > ftp3.sourceforge.net::/netbsd/iso iso/ Looks like you didn't copy that command exactly, because rsync would fail with a syntax error due to the '/' before th

Re: rsync exclude/include

2001-11-13 Thread Dave Dykstra
On Tue, Nov 13, 2001 at 10:00:59AM -0600, Dave Dykstra wrote: ... > A simplification is this: > > + /iso > + /iso/1.5.* > + /iso/1.5.*/i386* > - * > > because if you don't have the slash preceding the exclude "*" it applies at > all levels. Wait, if i386* matches directories and

Re: rsync exclude/include [FIDUCIA virengeprüft - ohne Gewähr, daß alle bekannten Viren und deren Varianten erkannt wurden.]

2001-11-13 Thread Dave Dykstra
On Tue, Nov 13, 2001 at 01:44:45AM +0100, Thomas Schweikle wrote: > > Hi again! > > > > > > Tomasz Ciolek <[EMAIL PROTECTED]> on 13.11.2001 01:21:27 > > An: Thomas Schweikle <[EMAIL PROTECTED]> > Kopie: > Thema:Re: rsync exc

Re: rsync exclude/include [FIDUCIA virengepr?ft - ohne Gew?hr, da? allebekannten Viren und deren Varianten erkannt wurden.]

2001-11-13 Thread Thomas Schweikle
Tomasz Ciolek <[EMAIL PROTECTED]> on 13.11.2001 06:29:35 An: Thomas Schweikle <[EMAIL PROTECTED]> Kopie: Thema: Re: rsync exclude/include [FIDUCIA virengepr?ft - ohne Gew?hr, da? alle bekannten Viren und deren Varianten erkannt wurden.] > so perhaps dropping th

Re: rsync exclude/include [FIDUCIA virengepr?ft - ohne Gew?hr, da? allebekannten Viren und deren Varianten erkannt wurden.]

2001-11-12 Thread Thomas Schweikle
Tomasz Ciolek <[EMAIL PROTECTED]> on 13.11.2001 01:51:25 An: Thomas Schweikle <[EMAIL PROTECTED]> Kopie:"Tomasz Ciolek Umm loose the spaces between the - and the pattern?? removing spaces changes matching to not match anything at all --- transferring all files! Really something wro

Re: rsync exclude/include [FIDUCIAvirengeprüft - ohne Gewähr, daß alle bekanntenViren und deren Varianten erkannt wurden.]

2001-11-12 Thread Thomas Schweikle
Hi again! Tomasz Ciolek <[EMAIL PROTECTED]> on 13.11.2001 01:21:27 An: Thomas Schweikle <[EMAIL PROTECTED]> Kopie: Thema: Re: rsync exclude/include [FIDUCIA virengeprüft - ohne Gewähr, daß alle bekannten Viren und deren Varianten erkannt wurden.] > Try dumoping