我有10个文件.我可以列出它们,find . -type f我想要实现的是在使用find命令找到它们之后向所有10个文件发送消息.
find . -type f
我试过的, find . -type f -exec echo "This file found" >> {} \;
find . -type f -exec echo "This file found" >> {} \;
可能逻辑上我是对的,但它不起作用.有什么方法可以实现使用find和echo只有?
find
echo
谢谢
bash find
bash ×1
find ×1