xargs ã® -P ãªãã·ã§ã³ã使ãã¨ããã»ã¹ãè¤æ°èµ·åãã¦å¦çã並åã«è¡ãªããã¨ãåºæ¥ãã ä¾ ä¾ãã°ã 1 ä¸æã® JPEG ç»åãå ¨ã¦ 800x800 ã«åã¾ãããã«å¹çè¯ããªãµã¤ãºãããã ã¾ãç§ã¯ãã®ãããªã³ãã³ããèããã convert --geometry 800x800 *.jpg ããã zsh ã«æãããã zsh: argument list too long: convert å¼æ°ãå ¨ã¦å±éããããããã®ãããªäºãèµ·ããã ç§ã¯ xargs ã使ã£ã¦å¦çãããã¨ãæãä»ããã ls | xargs -I{} convert --geometry 800x800 {} c_{} å¦çã¯è¡ãªããããé常ã«é ãã ããã CPU ãå ¨ã使ã£ã¦ããªããã¨ãåãããç§ã¯å¦çã並åçã«è¡ãªãäºãèããã ãã㧠xargs ã® -P ãªãã·ã§ã³ã®åºçªã§ããã P ã®å¾ã«ä¸¦å
{{#tags}}- {{label}}
{{/tags}}