Running `addtext` across all pads
After getting !1 (closed) done, I was able to do something like:
$ apt install -y jq
$ etherdump init
$ etherdump pull --meta --pub .etherdump
$ cat .etherdump/*.meta.json | jq '.padid' | xargs -I {} etherdump addtext {} "\n\n__NOPUBLISH\n\n" --append
$ rm .etherdump/*.meta.json
$ etherdump pull --meta --text --dhtml --pub .etherdump --no-raw-ext
And have __NOPUBLISH__
honoured across every pad.
This could probably be made easier to do but wanted to see what you think.
Filtering was mentioned before and I think it would be nice to have something like:
$ etherdump filter --not "__NOPUBLISH__" # or whatever magic word ...
And that would return all the padIDs I need, which I could pipe into etherdump addtext ...
.