Search This Blog

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

see also

No comments:

Post a Comment