Execute commands on 'find' output ft. -exec and xargs
How to run commands on files found
If I want to delete any log files in a directory and log files in this directory have common substring "log" in their name, we could do it all in one command.
nuclearegg69@zenbook-f13:~$ ls
1 2 a b c...
justmyahia.hashnode.dev2 min read