mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-09 10:40:34 -05:00
Updated archiving sites post
This commit is contained in:
parent
18780e4810
commit
4cbd809832
1 changed files with 12 additions and 3 deletions
|
@ -8,10 +8,19 @@ I have several old Wordpress sites that are now only alive for archival purposes
|
|||
|
||||
Solution... wget comes to the [rescue](https://stackoverflow.com/questions/538865/how-do-you-archive-an-entire-website-for-offline-viewing#538878)
|
||||
|
||||
Thanks to user [chuckg](https://stackoverflow.com/users/63193/chuckg), I now know you can run `wget -m -k -K -E https://url/of/web/site` to get a full offline copy of a website.
|
||||
User [chuckg](https://stackoverflow.com/users/63193/chuckg) initially suggested to run `wget -m -k -K -E https://url/of/web/site` to get a full offline copy of a website.
|
||||
|
||||
[Joel Gillman](https://stackoverflow.com/users/916604/jgillman) expanded out the command to `wget --mirror --convert-links --backup-converted --adjust-extension https://url/of/web/site`
|
||||
[Joel Gillman](https://stackoverflow.com/users/916604/jgillman) and [Firsh](https://letswp.io/download-an-entire-website-wget-windows/) wrote about their commands and now our command has expanded to:
|
||||
```bash
|
||||
wget --mirror \
|
||||
--convert-links \
|
||||
--backup-converted \
|
||||
--adjust-extension \
|
||||
--no-clobber \
|
||||
--page-requisites \
|
||||
https://url/of/web/site
|
||||
```
|
||||
|
||||
There are other solutions in that stack overflow post, but something about the simplicity of `wget` appealed to me.
|
||||
|
||||
[Check out this now Wordpress free site of mine!](https://sentenceworthy.com)
|
||||
[Check out this now Wordpress free site of mine!](https://sentenceworthy.com)
|
||||
|
|
Loading…
Reference in a new issue