diff options
| author | John J. Camilleri <john@johnjcamilleri.com> | 2018-11-28 22:22:41 +0100 |
|---|---|---|
| committer | John J. Camilleri <john@johnjcamilleri.com> | 2018-11-28 22:22:41 +0100 |
| commit | a7e43d872f5e612f93131f2d8caf811fbee9aa83 (patch) | |
| tree | 1c7de5e7e7c886d6c12e0259c5385a393e4082d1 /bin/clean_html | |
| parent | c6ec8cf302fef3d279a2d9e0a305f8b554978c7f (diff) | |
| parent | d6fc50b40b3b7d16ad9a7d147aedc81e73fe4581 (diff) | |
Merge branch 'new-website'
Diffstat (limited to 'bin/clean_html')
| -rwxr-xr-x | bin/clean_html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/clean_html b/bin/clean_html new file mode 100755 index 000000000..e2bf0e799 --- /dev/null +++ b/bin/clean_html @@ -0,0 +1,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 |
