summaryrefslogtreecommitdiff
path: root/bin/clean_html
blob: e2bf0e799425f0d9eb589aa902e05225ffc6ffdc (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

### This script finds all .t2t (txt2tags) files and deletes the corresponding html file

find . -name '*.t2t' | while read t2t ; do
  html="${t2t%.t2t}.html"
  rm -f "$html"
done