2013-04-03 16 views

回答

0
find . -name X1 -or -name X2 -type d -depth 1 ... 

-type d只會查找目錄。

-depth 1將其限制爲當前目錄的子目錄(即,沒有參數的由ls列出的目錄)。

相關問題