From owner-freebsd-questions@FreeBSD.ORG Fri Feb 13 17:34:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6F5C16A4CE for ; Fri, 13 Feb 2004 17:34:03 -0800 (PST) Received: from smtp-2.mdc.net (smtp-2.mdc.net [209.251.64.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C7E943D39 for ; Fri, 13 Feb 2004 17:34:03 -0800 (PST) (envelope-from matthew@netway.com) Received: from admin1.mdc.net (admin1.mdc.net [209.251.64.23]) by smtp-2.mdc.net (8.9.3/8.9.1) with ESMTP id UAA65014; Fri, 13 Feb 2004 20:33:57 -0500 (EST) (envelope-from matthew@netway.com) Date: Fri, 13 Feb 2004 20:33:51 -0500 (EST) From: matthew X-X-Sender: matthew@admin1.mdc.net To: Rob In-Reply-To: <402D7601.2070003@users.sourceforge.net> Message-ID: <20040213203308.P67547@admin1.mdc.net> References: <402D7601.2070003@users.sourceforge.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: rsync: exclude doesn't work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2004 01:34:03 -0000 On Sat, 14 Feb 2004, Rob wrote: > > > Hi, > > I use rsync to back up my files, but I want to exclude uninteresting bulk > files in cache directories of netscape, opera and mozilla. After reading > the man pages, I use following call: > > /usr/local/bin/rsync \ > --exclude "rob/.netscape/cache/" \ > --exclude "rob/.mozilla/**/Cache/" \ > --exclude "rob/.opera/cache4/" \ > -avzC /home/rob /home/BACKUP > Shouldn't there be a tilde before rob? As in "~rob/.opera/cache4/" for example. ;) m > However, the exclude lines seem to be ineffective; all the cache directories > are rsync'ed each time this backup script runs. > > Any ideas why that is? > > Thanks > Rob. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >