2014-02-08 56 views

回答

2

管道輸出到一個sed命令去除文件名,然後使用uniq刪除重複:

find/-type f -regextype sed -regex ".*/g\.[0-9]\{4\}.*" | sed 's|/[^/]*$||' | uniq 
相關問題