On Fri, 2010-03-05 at 09:51 -0500, William Case wrote:
How can I convert these files into *.txt? I have tried several variations of:
]$ html2text -o ~/UMLC.txt file:///home/bill/NoteCaseDocs/UMLC. *Cannot open input file "file:///home/bill/NoteCaseDocs/UMLC.*".
Any suggestions greatly appreciated on how to import these (I have several) *.ncd files into Lyx.
YMMV but I'd do something like:
for F in foo/*.ncd; do links -dump $F > $(echo $F|sed 's/.ncd$/.txt/'); done
"for each file matching foo/*.ncd convert the dump the content as plain text using links into a file with the same name but the extension .ncd replaced with .txt"
I happen to like links but this should work with any html-text converter. Just watch out that it does the right things for what you want with the file names.
Regards, Bryn.