How to download your entire WordPress.com 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 example.files.wordpress.com,example.wordpress.com   http://example.wordpress.com

Just replace all instances of example with the name of your WordPress.com 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.

Advertisements
This entry was posted in software and tagged , , . Bookmark the permalink.

Make a comment

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s