我可以通过这段代码在 html2text 上使用并行
find . -type f -name \*html > FLIST
parallel --a FLIST -j 1000 'html2text {} > {.}.txt'
现在,如何在转换后删除每个 .html
输入文件。
最佳答案
这样做会:
find . -type f -name \*html > FLIST
parallel --a FLIST -j 1000 'html2text {} > {.}.txt; rm {}'
关于python - 删除输入时使用并行运行 html2text,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51219201/