ã³ãã³ã $ ls | sed -e s/\.txt// | awk '{print $1 ".txt " $1 "_document.md"}' | xargs -n 2 mv æ¦ç¥ã«ã¤ã㦠ã¾ãåæã¨ãã¦ããã¡ã¤ã«ã®ãªãã¼ã ãè¡ãã«ã¯ã xargs -n 2 mv ã«ãã¤ã㧠å ãã¡ã¤ã«å ãªãã¼ã å¾ã®ãã¡ã¤ã«å ã®ãããªãã©ã¼ãããã®æååã渡ãã° OK ã§ãã $ ls before.txt $ echo "before.txt after.txt" before.txt after.txt $ echo "before.txt after.txt" | xargs -n 2 mv $ ls after.txt ãã®æååãè¤æ°è¡ããå ´åã xargs -n 2 mv ã¯1è¡ãã¤é 次å¦çãã¾ãã $ ls 1.txt 2.txt $ echo "1.txt 11.txt\n2.tx
{{#tags}}- {{label}}
{{/tags}}