finding every file not in a list

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Jan 27 19:25:08 UTC 2010


*not* OT, I would say...

"Aryeh M. Friedman" <aryeh.friedman at 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/


More information about the freebsd-questions mailing list