标签: linux
我有一个文件夹,其中文件的范围从shg_receive_box_04_06_2019.xls到shg_receive_box_20_06_2019.xls 如何在单个命令中仅将04_06_2019.xls复制到15_06_2019.xls?
shg_receive_box_04_06_2019.xls
shg_receive_box_20_06_2019.xls
04_06_2019.xls
15_06_2019.xls
答案 0 :(得分:0)
尝试一下:
for i in $(seq -f "%02g" 4 15); do cp shg_receive_box_${i}_06_2019.xls path/to/copy/to; done