search by changed: attr
Hello! How can I dump all objects I have changed (i.e. where is "changed: my@e.mail" attribute present)? -- WBR, Максим Тульев (MT6561-RIPE, 2:463/253@FIDO)
On May 26, Max Tulyev <president@ukraine.su> wrote:
How can I dump all objects I have changed (i.e. where is "changed: my@e.mail" attribute present)? I do not think that there is a reverse index for this attribute, but you can download the database (except for person objects) from ftp.ripe.net and then search it.
-- ciao, Marco
Max Tulyev wrote:
Hello!
How can I dump all objects I have changed (i.e. where is "changed: my@e.mail" 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\@ripe.net/im)' This does not include PERSON, ROLE, MNTNER, or IRT objects. -- Shane Kerr RIPE NCC
participants (3)
-
Max Tulyev
-
md@Linux.IT
-
Shane Kerr