find . -type f | sed -e 's/\/.*\///g'|egrep '(\/abc|xy$)'
那个不是V,是 \ /,中间没有任何空格
【脚本】如何在linux shell下面查找 abc开头或xy结尾的文件,只用一个命令
最新推荐文章于 2024-06-26 07:17:33 发布
find . -type f | sed -e 's/\/.*\///g'|egrep '(\/abc|xy$)'
那个不是V,是 \ /,中间没有任何空格