How to download your entire blog using wget for archiving, backup and offline browsing

This wget bash command in Linux will go through your archives widget (you need to have one) and download all your blog posts and image.

wget -r --exclude-directories=page,category,author,comments,feed,tag,feed  --mirror   --page-requisites --convert-links --span-hosts --domains,

Just replace all instances of example with the name of your blog. The above command does not download comments, feeds, etc. If you would like to have them downloaded too, then make appropriate modifications to the –exclude-directories parameter. If you remove tags and categories, you might get a lot of repeats. So, don’t.


Make a comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s