Skip to content

Instantly share code, notes, and snippets.

@jmcd
Created July 15, 2013 15:16
Show Gist options
  • Save jmcd/6000788 to your computer and use it in GitHub Desktop.
Save jmcd/6000788 to your computer and use it in GitHub Desktop.
Format many XML files in a directory
find . -maxdepth 1 -type f -exec xmllint --format -o formatted/{} {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment