add legal href in the footer with sed command

This commit is contained in:
oxeo0 2025-04-05 00:36:25 +02:00
parent 8f55e7f452
commit 5ba1319a20
116 changed files with 118 additions and 115 deletions

3
sed.sh
View file

@ -12,5 +12,8 @@
#grep -ri 'https:\/\/simplex.chat\/contact#.*%22%3A%22G3yklv9753AcNA7lGV3FBw%3D%3D%22%7'
# adding legal in footer
# find opsec/ -name '*.html' -print0 | xargs -0 sed -i 's/Until there is Nothing left.<\/p><\/br><\/br><p>Creative Commons Zero/Until there is Nothing left.<\/p><p><a href="..\/..\/..\/..\/opsec\/legal.html">Legal Disclaimer<\/a><\/p><p>Creative Commons Zero/g'
sudo sed -i 's/https:\/\/simplex.chat\/contact#.*%22%3A%22G3yklv9753AcNA7lGV3FBw%3D%3D%22%7D/http:\/\/nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion\/simplex.html/gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html