Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2010 14:25:06 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: finding every file not in a list
Message-ID:  <443a1rl59p.fsf@be-well.ilk.org>
In-Reply-To: <4B6090FC.4070002@gmail.com> (Aryeh M. Friedman's message of "Wed, 27 Jan 2010 14:16:12 -0500")
References:  <4B6090FC.4070002@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
*not* OT, I would say...

"Aryeh M. Friedman" <aryeh.friedman@gmail.com> writes:

> I have a list of files that should be in a dir tree and want to remove
> any files from the tree not in list (i.e. if it is on the list keep it
> else rm it)... any quick way to do this?

mtree(8)

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/



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