cat bingxing.sh |xargs -i -P 2 sh {}
參考 https://www.cnblogs.com/f-ck-need-u/p/9752365.html
手動分割後並行
split -l 125000 input.list -d -a 1 batch
加後綴名
split -l 125000 input.list -d -a 1 batch&&ls|grep batch|xargs -n1 -i{} mv {} {}.list
cat bingxing.sh |xargs -i -P 2 sh {}
參考 https://www.cnblogs.com/f-ck-need-u/p/9752365.html
手動分割後並行
split -l 125000 input.list -d -a 1 batch
加後綴名
split -l 125000 input.list -d -a 1 batch&&ls|grep batch|xargs -n1 -i{} mv {} {}.list