I want to remove HTML from several hundred files.
Here is the command I started with:
find -name *.html -exec w3m {} > w3m {}.html.out \;
The problem I am facing is that she created one large .htm.out file (named {} .html.out) - I want the file I use to be named regardless of its original .out.
For example, I have
2002/filename.html
I want to run it through w3m and get 2002 / filename.html.out
Any suggestions? I am open to other solutions that do not use bash
I am using cygwin.
source share