As we seen in our previous articles we can use grep command in combination with two other commands to delete multiple files which has certain string in the file name or same extension in linux.
Grep command allows us to filter the content from the input which matches the pattern. Here we are going to use combination of three commands including grep, to copy / move the files recursively to another directory which matches our pattern
"grep" command in linux can be used to search text in files. We can further tune this command to search text in certain file types only. Let see how to do it.