Skip to content

Instantly share code, notes, and snippets.

@rickbenetti
Forked from r-martins/xmllint.txt
Created June 3, 2013 17:43
Show Gist options
  • Save rickbenetti/5699867 to your computer and use it in GitHub Desktop.
Save rickbenetti/5699867 to your computer and use it in GitHub Desktop.
for file in `find . -name "*.xml"`; do xmllint --noout $file; done
fará uma busca por todos os arquivos xml recursivamente e mostrará se houver algum com erro de sintaxe, tags nao fechadas, etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment