How to get a list of all URLs from multiple sitemaps listed using an index sitemap?

I prefer to use command line tools to extract sitemap URLs. Most Sitemaps have each URL on their own line, making them fully compatible with Unix command line tools. I can easily extract your four sitemap URLs from your index sitemap:

$ curl -s https://www.example.com/sitemap_index.xml.gz | gunzip | grep -oE & # 39; https: //[^<]+ & # 39;
https://www.example.com/sitemap1.xml.gz
https://www.example.com/sitemap2.xml.gz
https://www.example.com/sitemap3.xml.gz
https://www.example.com/sitemap4.xml.gz

You can either paste each of these four URLs into a tool similar to the one you've listed, or use command-line tools to examine them in more detail:

$ curl -s https://www.example.com/sitemap1.xml.gz | gunzip | grep <loc & # 39; | grep -oE & # 39; https: //[^<]+ & # 39;
https://www.example.com/en/c1_Bags
https://www.example.com/de/c1_Taschen
https://www.example.com/fr/c1_Sacs
....

You can also create sitemaps with any text editor. You may need to uncompress them first with an uncompressed program. (That's what gunzip done in my command-line examples above.)