[root@localhost taskctl]# ll total 772 -rwxr-xr-x. 1 root root 229326 Sep 28 11:51 ctlsendevent -rwxr-xr-x. 1 root root 335063 Sep 28 11:52 ctlsendmsg -rwxrwxrwx. 1 test1 test1 25 Sep 11 22:46 execcmd.sh -rw-r--r--. 1 cdchen cdchen 32660 Aug 9 16:01 nihao.exm -rw-rw-r--. 1 test1 test1 29 Sep 19 18:09 oneplusjob.sh -rwxr-xr-x. 1 root root 148109 Sep 28 11:38 splitexm -rw-r--r--. 1 root root 32660 Aug 9 16:01 taskctl.exm [root@localhost taskctl]# ./splitexm taskctl.exm 将文件切分到目录:spileexm94876 [root@localhost taskctl]# cd spileexm94876/ [root@localhost spileexm94876]# ll total 60 -rw-r--r--. 1 root root 2285 Sep 28 15:29 abc1.exm -rw-r--r--. 1 root root 2171 Sep 28 15:29 abc2.exm -rw-r--r--. 1 root root 4397 Sep 28 15:29 abc3.exm -rw-r--r--. 1 root root 4397 Sep 28 15:29 abc4.exm -rw-r--r--. 1 root root 4397 Sep 28 15:29 abc5.exm -rw-r--r--. 1 root root 4407 Sep 28 15:29 project1_Flow1.exm -rw-r--r--. 1 root root 1999 Sep 28 15:29 project1_Flow2.exm -rw-r--r--. 1 root root 1790 Sep 28 15:29 project1_Flow3.exm -rw-r--r--. 1 root root 2070 Sep 28 15:29 project1_Timer1.exm -rw-r--r--. 1 root root 1531 Sep 28 15:29 project1_Timer2.exm -rw-r--r--. 1 root root 3216 Sep 28 15:29 project1_Timer3.exm |