document our super duper bash schript
authorSebastian Bachmann <me@free-minds.net>
Thu, 30 May 2013 17:23:56 +0000 (19:23 +0200)
committerSebastian Bachmann <me@free-minds.net>
Thu, 30 May 2013 17:23:56 +0000 (19:23 +0200)
WikiGardening/index.mdwn [new file with mode: 0644]

diff --git a/WikiGardening/index.mdwn b/WikiGardening/index.mdwn
new file mode 100644 (file)
index 0000000..cd81c59
--- /dev/null
@@ -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