I'm using the following command to download web pages into static html files:
wget --quiet http://mytestdomain.com/sitemap.xml --output-document - | egrep -o "http?://[^<]+" | wget -i -
But it just outputs each file like this:
index.html
index.html.1
index.html.2
My question is, is it possible to modify this command so that each saved file uses's the original page's title instead of index.html?
Thanks
option "-O filename" will set the output name -O is capital o, not zero