From owner-freebsd-hackers Mon Feb 1 02:39:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA28706 for freebsd-hackers-outgoing; Mon, 1 Feb 1999 02:39:07 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.nacamar.de (mail.nacamar.de [194.162.162.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA28696 for ; Mon, 1 Feb 1999 02:39:05 -0800 (PST) (envelope-from rohrbach@mail.nacamar.de) Received: (from rohrbach@localhost) by mail.nacamar.de (8.8.7/8.8.8MB-19980212) id LAA17558; Mon, 1 Feb 1999 11:38:54 +0100 (CET) Message-ID: <19990201113853.D13327@nacamar.net> Date: Mon, 1 Feb 1999 11:38:53 +0100 From: "Karsten W. Rohrbach" To: Matthew Dillon , "Daniel C. Sobral" Cc: hackers@FreeBSD.ORG Subject: Re: 'cpdup' program, and question Reply-To: rohrbach@nacamar.net References: <20657.917338610@zippy.cdrom.com> <199901260830.AAA14635@apollo.backplane.com> <36ADAA43.4B383143@newsguy.com> <199901261723.JAA19851@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199901261723.JAA19851@apollo.backplane.com>; from Matthew Dillon on Tue, Jan 26, 1999 at 09:23:41AM -0800 X-Arbitrary-Number-Of-The-Day: 42 X-Sender: rohrbach@nacamar.net X-Organisation: Nacamar Data Communications GmbH X-Address: Robert-Bosch-Str. 32, 63303 Dreieich, Germany X-Phone: vox: +49 6103 993 870 fax: +49 6103 993 199 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Dillon (dillon@apollo.backplane.com) @ Tue, Jan 26, 1999 at 09:23:41AM -0800: > > : > :Does it support command-line passed "ignore" files, instead of > :.cpignore? (I prefer to have all these things in one place...) > > If you mean can you have a single ignore file containing the relative > or full paths of the files/directories to ignore, the answer is not > at the moment. I see the utility, but it would also be extremely > dangerous. You can change the cpignore filename that cpdup looks for > in each directory, though. > > Having .cpignore files in the source directories directly is a safety > mechanism. At BEST we even 'chflags schg .cpignore' the most critical > files. > > It may not be necessary for me to be that paranoid now that deletions > are confirmed by default ( they aren't in the version BEST was using ). > > :Does it support patterns in .cpignore? > > Simple */? patterns. *NOT* regex. > how about supporting "standard" semfiles ala .notar, perhaps configurable filenames. something like "IgnoreFiles .notar .nocp .nolife .nothing" and dirs with their subtrees will be ignored in copying (might come in handy with replicating server prototype filesystems). /k -- "Nuclear war can ruin your whole compile." -- Karl Lehenbauer http://www.nacamar.de - http://www.nacamar.net - http://www.webmonster.de http://www.apache.de - http://www.quakeforum.de - finger rohrbach@nacamar.net PGP Key fingerprint = F9 A0 DF 91 74 07 6A 1C 5F 0B E0 6B 4D CD 8C 44 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message