1 2 3 4 5 6
root@Liy:~# cat cp.sh #!/bin/bash rmdir /root/cpfile mkdir /root/cpfile filelist={find / | grep 'xls'} cp {$filelist} /root/cpfile