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

next in thread | previous in thread | raw e-mail | index | archive | help
Lowell Gilbert wrote:
> *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)
>
>   
Tried aelpf -p master | mtree -p ~aegis/master/baseline/" (ignore the 
aelpf it is a command unique to devel/aegis) but got the following:

mtree: line 1: slash character in file name

The reason is here is a very small snippet of aelpf's output:


data/config/dns/agilejavatools.com.db
data/config/dns/istudentunion.com.db




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