diff options
author | B Stack <bgstack15@gmail.com> | 2020-06-16 13:40:39 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-06-16 13:40:39 -0400 |
commit | 0ca931489f98b65e1025a4c4f00ae9eb8484dc27 (patch) | |
tree | 231f9fa86e40a62ef59ca0cc1ba81d52086b3597 /conversion.sh | |
parent | initial commit (diff) | |
download | glip-0ca931489f98b65e1025a4c4f00ae9eb8484dc27.tar.gz glip-0ca931489f98b65e1025a4c4f00ae9eb8484dc27.tar.bz2 glip-0ca931489f98b65e1025a4c4f00ae9eb8484dc27.zip |
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
Diffstat (limited to 'conversion.sh')
-rwxr-xr-x | conversion.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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 |