在使用 fish 作为我的 shell 时,我尝试使用以下命令设置对当前目录中的一堆 c 源文件的权限
find . -type f -name "*.c" -exec chmod 644 {} +;
Run Code Online (Sandbox Code Playgroud)
我收到一个错误
查找:缺少`-exec'的参数
或者
find . -type f -name "*.c" -exec chmod 644 {} \;
Run Code Online (Sandbox Code Playgroud)
我收到一个错误
chmod: 无法访问 '': 没有那个文件或目录
怎么了?