如何變更所有檔案目錄屬性的語法 - Linux

Table of Contents

剛好最近有遇到這樣的需求...做個Memo

將所有目錄改為 755
# find /data/www -type d -exec chmod 755 {} \;

為何打了會出現 -exec not found? help thx

--

All Comments