iceworks.cc/z/ maintenence scripts

Created: 2020-09-03T04:33:25+00:00

Return to the Index

Since I was asked how these things work. A stripped version of the scripts is available online.

Zettelkasten scripts (git repo)

Sanitizing

Protect the kayfabe.

git filter-repo --name-callback 'return b"Iced Quinn"' --force
git filter-repo --email-callback 'return b"icedquinn@protonmail.com"' --force

Delete all the notes. Technically we do not need to delete c-notes because you can read them online anyway. But deleting p-notes is important because those are private.

git filter-repo --path-glob 'p*' --path-glob 'c*' --invert-paths