我试图使用以下chmod文件夹和文件:
chmod
find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \;
但我想知道:
如何在一行中使用find和排除目录.和..
find
.
..
哪种方法更好,find -exec或者xargs?
find -exec
xargs
command-line find chmod xargs
chmod ×1
command-line ×1
find ×1
xargs ×1