some modification on instpkg
[cmdllinux.git] / scripts / _htmls_2_txt
blob4938fdaf5e5cc15cef84c7429d5cb785c648e480
1 #!/bin/sh
3 ls *.html 2> /dev/null | xargs -r -i sh -c 'links -dump "{}" > "{}.txt"'
4 #find -mindepth 1 -maxdepth 1 -name "*.html" | xargs -r -i sh -c 'links -dump "{}" > "{}.txt"'
5 #find -mindepth 1 -maxdepth 1 -name "*.html" -print0 | xargs -r -0 -i sh -c 'links -dump "{}" > "{}.txt"'