Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 1996 18:29:57 +0000 (GMT)
From:      Gabor Zahemszky <zgabor@CoDe.hu>
To:        ishort@pcm.co.za
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Backup Software
Message-ID:  <199604011829.SAA00575@CoDe.CoDe.hu>
In-Reply-To: <199604011105.NAA08740@pcmgate.pcm.co.za> from "Irvine Short" at Apr 1, 96 01:08:10 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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 <zgabor@CoDe.hu>

-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
Earth is the cradle of human sense, but you can't stay in the cradle forever.
						Tsiolkovsky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604011829.SAA00575>