今天在執行find . -type f -size 0 -exec rm -rf {}\;命令刪除空文件的時候,包錯誤:find: 遺漏「-exec」的參數spa
解決辦法:di
{}後面還須要加個空格 find . -type f -size 0 -exec rm -rf {} \;文件