Skip to content

Instantly share code, notes, and snippets.

@blbradley
Created February 8, 2013 19:43
Show Gist options
  • Save blbradley/4741437 to your computer and use it in GitHub Desktop.
Save blbradley/4741437 to your computer and use it in GitHub Desktop.
Print a list of URLs from an XML sitemap to stdout
#Print a list of URLs from sitemap.xml to stdout
xpath -q -e '/*/*/*/text()' sitemap.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment