umouse

umouse.git
git clone git://git.lenczewski.org/umouse.git
Log | Files | Refs | Submodules | README

FIX_HTML.TXT (270B)


      1 :
      2 # modifies HTML files to use relative URLs for a local only
      3 # version of the WWW site
      4 #
      5 # usage:
      6 # local file1 [file2 ...]
      7 #
      8 for arg; do
      9     echo $arg;
     10 	mv $arg $arg.tmp
     11 	sed s/"ftp:\/\/taygeta.com\/"/"ftp:\/\/ftp.taygeta.com\/"/g < $arg.tmp > $arg
     12 	rm $arg.tmp
     13 done
     14