<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>It's been a while since I've used cvs, but here's what I'd do
with subversion, which is not hugely different.</p>
<p>1) co the config tree into a temporary directory (here using svn
co or similar)</p>
<p>2) cd to the configs directory</p>
<p>3) look at the log history on one of the files and find the time
frame I'm looking for. Here, we're relying on the fact that rancid
is running a bulk check-in at once for all of the files, so they
all have the same version number at the same time of run.</p>
<p>4) svn update -r<version> * - that brings out all the files
at that same version number (e.g. whatever that version is from 5
revs ago)</p>
<p>5) run grep on *<br>
</p>
<br>
(there's always the option of converting your cvs to subversion,
though I'm not sure if it didn't keep the revs the same if that
would translate similarly)<br>
<br>
<div class="moz-cite-prefix">On 10/19/2017 5:37 PM, Lee wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAD8GWst+q_1zhfZWuURHi26M28oYTwESFwo3obBVRm4c2YkJfw@mail.gmail.com">
<pre wrap="">On 10/19/17, Matthew Goeres <a class="moz-txt-link-rfc2396E" href="mailto:mgoeres@gmail.com"><mgoeres@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Looking for ideas on how I can search back revisions on multiple devices.
Example: I have a folder with around 200 devices in it. I would like to
look back at say the last 5 revisions for all devices and grep those
changes for something like a zone change. Anyone had some ideas on how to
do this with CVS?
</pre>
</blockquote>
<pre wrap="">
Would something like
cvs diff -D "2 months ago" -U 5 devName
be close enuf?
Lee
_______________________________________________
Rancid-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<table>
<tbody>
<tr>
<td style="padding-left: 20px" width="90%">Doug Hughes<br>
Keystone NAP<br>
Fairless Hills, PA<br>
1.844.KEYBLOCK (539.2562)</td>
<td style="align: right;padding-right: 20px"><img
src="cid:part1.AE7CCD75.925111A0@keystonenap.com">
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>