From: Sebastian Bachmann Date: Thu, 30 May 2013 17:23:56 +0000 (+0200) Subject: document our super duper bash schript X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=002c2ec44e7cad8ac26f85657700e703b4d923b4;p=debienna.git document our super duper bash schript --- diff --git a/WikiGardening/index.mdwn b/WikiGardening/index.mdwn new file mode 100644 index 0000000..cd81c59 --- /dev/null +++ b/WikiGardening/index.mdwn @@ -0,0 +1,6 @@ +WikiGardening +============= + +Replace Moved Links: + + for user in $(find ./Benutzer -type d -maxdepth 1 -mindepth 1 -exec basename {} \;); do find ./ -type f -name '*index.mdwn' -exec sed -i -e 's:\[\['$user'|'$user'\]\]:\['$user'\]\(/Benutzer/'$user'\):' {} +; done