Re: [db-wg] search by changed: attr
-
To: Max Tulyev <>
-
From: Shane Kerr <>
-
Date: Thu, 26 May 2005 13:20:22 +0200
Max Tulyev wrote:
>Hello!
>
>How can I dump all objects I have changed (i.e. where is "changed: my@localhost"
>attribute present)?
>
>
>
You can only search on attributes that are specifically marked as
"primary/look-up key", "lookup key", or "inverse key".
As Marco said, one way to do something like this is to search the
nightly snapshot of the database that is on the FTP site:
ftp://ftp.ripe.net/ripe/dbase/ripe.db.gz
You can then search using Perl or some other tool:
gzip -dc ripe.db.gz | perl -000 -ne 'print if
(/^changed:.*shane@localhost)'
This does not include PERSON, ROLE, MNTNER, or IRT objects.
--
Shane Kerr
RIPE NCC
|