ã¹ã¯ãªããåï¼fsplit.sh æ¦è¦ï¼ãã¡ã¤ã«ãåå²ãããå ã®ãã¡ã¤ã«å.001ãã¨ããé£çªãä»ãã¾ãã æ©è½ï¼splitã³ãã³ãããsplit -b ãµã¤ãº ãã¡ã¤ã«åãã®å½¢å¼ã§å®è¡ããã¨ãåå²ãã¡ã¤ã«ããxaaããxabããxacãã¨ãã£ããã¡ã¤ã«åã§çæããã¦ãã¾ãã¾ããããã®ã¹ã¯ãªããã§ã¯ããå ã®ãã¡ã¤ã«å.001ãã¨ãã£ãé£çªãä»ããåãããããååã§åå²ãããã¨ãã§ãã¾ãã æ¸å¼ï¼fsplit.sh -b åå²ãã¡ã¤ã«ãµã¤ãº åå²å ãã¡ã¤ã«å ã³ã¼ãã¯ä»¥ä¸ã®ã¨ããã§ãã #!/bin/bash for ARG in $@; do ARGS="$ARGS $ARG" LAST=$ARG done split $ARGS || { echo "$0: split error"; exit 1; } CNT=0 for FILE in x??; do mv $FILE $LAST.
{{#tags}}- {{label}}
{{/tags}}