Converting HTML-files in a directory and all subdirs into TXT-files

Sep 09, 2008 21:31

I'm using this to convert HTML-files to TXT-files. I prefer reading the plain text on my ebook reader:

find ./ -iname \*.html -exec sh -c 'lynx -width=2048 -dump "$@" > "${@/.html/.txt}"; echo "$@"' foobar {} \;

And first post. Yay?
Next post
Up