Shell遍歷文件夾刪除匹配文件

#!/bin/sh list_alldir(){ for file2 in `ls -a $1` do if [ x"$file2" != x"." -a x"$file2" != x".." ];then if [ -d "$1/$file2" ] && (echo $file2 | grep -qv '.sv
相關文章
相關標籤/搜索