【发布时间】:2018-07-07 01:22:19
【问题描述】:
我可以通过这段代码在 html2text 上使用并行
find . -type f -name \*html > FLIST
parallel --a FLIST -j 1000 'html2text {} > {.}.txt'
现在,如何在转换后删除每个 .html 输入文件。
【问题讨论】:
标签: python html linux terminal parallel-processing
我可以通过这段代码在 html2text 上使用并行
find . -type f -name \*html > FLIST
parallel --a FLIST -j 1000 'html2text {} > {.}.txt'
现在,如何在转换后删除每个 .html 输入文件。
【问题讨论】:
标签: python html linux terminal parallel-processing
这样就可以了:
find . -type f -name \*html > FLIST
parallel --a FLIST -j 1000 'html2text {} > {.}.txt; rm {}'
【讨论】: