summaryrefslogtreecommitdiffstats
path: root/doc/online/replace
diff options
context:
space:
mode:
Diffstat (limited to 'doc/online/replace')
-rwxr-xr-xdoc/online/replace2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/online/replace b/doc/online/replace
new file mode 100755
index 0000000..9b99c81
--- /dev/null
+++ b/doc/online/replace
@@ -0,0 +1,2 @@
+von='..\/common\/kde_logo.png' nach='kde_logo.png'; filetype='*.html'; OLDIFS=$IFS; IFS='
+' ; files=`find . -name "$filetype"`; for f in $files;do cp $f $f.bak; g="$f.mettytmp"; echo "Searching in $f ..."; cat "$f" | sed "s/$von/$nach/" > "$g" && mv "$g" "$f"; rm -f *.mettytmp; done; IFS=$OLDIFS;