Friday, June 26, 2009

Tip of the day: dump a website from command line

Here is another trick I daily use:
if you want to dump a website in a .txt file, you can use lynx. I added this alias to my ~/.bashrc


alias dumpwebtxt='lynx -dump -nolist -notitle'


and you will use it the following way:


dumpwebtxt "http://life-is-a-hack.blogspot.com/ > out.txt

No comments:

Post a Comment