From owner-freebsd-questions Mon Apr 1 09:54:52 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA10419 for questions-outgoing; Mon, 1 Apr 1996 09:54:52 -0800 (PST) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA10407 for ; Mon, 1 Apr 1996 09:54:47 -0800 (PST) Received: by mail.EUnet.hu, id TAA13269; Mon, 1 Apr 1996 19:53:55 +0200 Received: by CoDe.CoDe.hu (SAA00575); Mon, 1 Apr 1996 18:29:57 GMT From: Gabor Zahemszky Message-Id: <199604011829.SAA00575@CoDe.CoDe.hu> Subject: Re: Backup Software To: ishort@pcm.co.za Date: Mon, 1 Apr 1996 18:29:57 +0000 (GMT) Cc: freebsd-questions@freebsd.org In-Reply-To: <199604011105.NAA08740@pcmgate.pcm.co.za> from "Irvine Short" at Apr 1, 96 01:08:10 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Hi all > > Well, I can backup up my system using find and cpio now, thanks to > some help from the mailing list archives, but I must say I don't like > it too much. > > Anyone got any nice front ends to these commands? It wouldn't be so hard with dialog, but need some idea about what to do... > Failing that, how do I tell find to list all the files on my hard > disk except a certain directory tree? 1) Try to `grep it out' with something like this: find / -depth -print | grep -v '^/you/dont/like/this/directory/to/backup' | cpio -o .... (and use more greps, if you have more dirs -- or use egrep -v '/dir1|/dir2|/dir3' instead 2) Maybe the find -prune option (action) is for you - sorry, I never used it -- Gabor Zahemszky -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky