摘要: #!/bin/bash count=0 for file in `ls`; do count=$((${count} + 1)); mv $file `echo ${count}"."${file##*.}`; done ${file##*.} 获取后缀名 过滤掉sh脚本 #!/bin/bash c 阅读全文
posted @ 2020-09-08 13:15 菜鸟的进击 阅读(567) 评论(0) 推荐(0) 编辑