How to list the XML files, which has the linefind . -type f -name "*.xml" -print -exec grep -i '<book></book>' {} \ +; find . -type f -name ".xml" -print -exec grep -i "<name=>*.*Sydney*.*" + {} \;
<book></book> and <name> which has the word "Sydney"
In reply to find the xml files by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |