diff options
| author | John J. Camilleri <john@digitalgrammars.com> | 2018-10-31 15:47:12 +0100 |
|---|---|---|
| committer | John J. Camilleri <john@digitalgrammars.com> | 2018-10-31 15:47:12 +0100 |
| commit | 7867c8c8287c4430d6fd5c8aed2e581ca4a9186d (patch) | |
| tree | aabea5a4f4a1429cc84d419f7863ed286b280876 /bin/clean_html | |
| parent | 632cd1e522f9f8b626b3acc661799cc81d29c728 (diff) | |
pre and post HTML templates for all txt2tags conversions
Remaining: cleaning of t2t files (remove unnecessary options)
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 |
