I have 10 files. I can list them with find . -type f
and what I am trying to achieve is sending a message to all 10 files after finding them with find command.
What I have tried, find . -type f -exec echo "This file found" >> {} \;
May be logically I am right but its not working. Is there any way I can achieve with using find
and echo
only ?
Thank you