From 0ca931489f98b65e1025a4c4f00ae9eb8484dc27 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 16 Jun 2020 13:40:39 -0400 Subject: add minor fixes and major image fixes perform better unicode removal/conversion fix image retrieval, including svg and minor graphics assets remove even more html elements not necessary for archival display --- conversion.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 conversion.sh (limited to 'conversion.sh') diff --git a/conversion.sh b/conversion.sh new file mode 100755 index 0000000..f739eaf --- /dev/null +++ b/conversion.sh @@ -0,0 +1,10 @@ +# startdate 2020-06-15 +# References: +# iconv(1), charsets(7) +for oldfile in $@ ; do + test -w "${oldfile}" && { + newfile="${oldfile}.2" + iconv -c -f utf-8 -t iso-8859-1 < "${oldfile}" > "${newfile}" + mv "${newfile}" "${oldfile}" + } +done -- cgit