Last modified: 2014-02-12 23:39:51 UTC
Created attachment 4250 [details]
Add negation to list and exactlist filters
The list and exactlist filters allow you to specify a list of pages you want to see in a dump, but sometimes it's useful to be able to find all pages in a dump except for a specific list of pages. "grep -v" if you will.
Included is a simple patch that does this.
Indeed, that would be useful at times...
I'd be inclined to use --filter=exclude:blah instead of --filter=list:!blah though; '!' is annoying to type on a Unix command line since you have to be extra careful quoting it, so perhaps better not to expand use of it.
Created attachment 4259 [details]
updated negate using different filter names rather than '!'
Good point. Is this any better?
Created attachment 8086 [details]
Updated the patch to a the most recent revision (no changes)
I have updated the patch by Brian Foley to the most recent revision. I think it's need to be reviewed and then (hopefully) merged into the trunk. All credits go to Brian Foley.