Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

linxux指令: 搜尋某檔名的檔案, 然後刪掉

假設要找的檔名關鍵字是”sensor”的話,
先透過find去找出這些檔案
再透過xargs承接這些檔案, 然後刪掉
find . -name "*sensor*" | xargs rm -rf

發表迴響