xargs -P ã使ã£ã¦ä¸¦åã§å§ç¸®ã»ãã¡ã¤ã«è»¢éãã # 10000 è¡ã®ãã¡ã¤ã«ãä½æãã perl -le 'printf(qq/%05d\n/, $_) for 1..10000' > total # 1000 è¡ãã¨ã«ãã¡ã¤ã«ãåå²ãã split --numeric-suffixes=1 -l 1000 total splited_ # 8 並åã§å§ç¸®ãã find . -type f -name 'splited_*' -print0|xargs -0 -I{} -P8 gzip # 8 並åã§ãã¡ã¤ã«è»¢éãã find . -type f -name 'splited_*.gz -print0|xargs -0 -I{} -P8 aws s3 cp {} s3://awssampledb/test/
{{#tags}}- {{label}}
{{/tags}}