Major update of scripts

This commit is contained in:
Uriel 2007-05-29 04:04:05 +02:00
parent 546713b0d6
commit 9acbe935ad
2 changed files with 50 additions and 14 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh
find . -name '*.md'|sed -e 's/\.md$//' -e 's,/index$,/,' -e 's,^\.,http://harmful.cat-v.org,'
for d in sites/*/; do
find $d -name '*.md'|sed -e 's/\.md$//' -e 's,/index$,/,' -e 's,^sites/,http://,' > $d/sitemap.txt
done