My Tech Notes
How to convert html to text on Linux or Mac OS X
Linux:
Use lynx
Run:
lynx -dump 1.html > 1.txt
Mac OS:
Use textutil
textutil -convert txt 1.html
Use lynx
Install lynx
Run:
lynx -dump 1.html > 1.txt
see also
Converting a html file to plain text
Converting a plain text file to html
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment