Wget - Saving Websites Offline - Cheat Sheet

Written by Wim Stockman - on 19 Sep 2020 - Updated on 23 Feb 2021

Saving all the pages off a website offline

Create a directory where you want to save your site:

mkdir your_site
cd your_site
wget -r -k -l inf url

-r option stands for recursive

standard goes 5 levels deep

-l option set how many levels deep

inf or 0 : get all the links of the links

-k option convert links to local links

Proxy Information
Original URL
gemini://yasendfile.org/TipTricks/wget-cmd.gmi
Status Code
Success (20)
Meta
text/gemini; lang=en
Capsule Response Time
429.706543 milliseconds
Gemini-to-HTML Time
0.178924 milliseconds

This content has been proxied by September (ba2dc).