Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

danallen

macrumors regular
Original poster
Oct 8, 2018
119
34
Houston
I have a simple question about using wget() to download a copy of my public website.
BACKGROUND
Two weeks ago, 9 was hit by a car. I am ok, but my phone was destroyed. As fate would have it, I lost the SanDisk sshd in my 2012 cMP. That drive contained and installation of Catalina and a lot of kes to my systems. My backup scheme was not grabbing that information.

To make a long story short, I need to download my public website, which hopefully will provide me a way to unlock the site, login to the database, etc.

Problem: so far, I cannot figure how to have wget() download more than one page. I have done my best to follow instructions but I am doing something wrong

My shot with wget()
wget -r -E -e robots=off -k -p -np -nc --random-wait \
--recursive \
--no-clobber \
--page-requisites
--html-extension \
--domains legacy_systems.biz \
https://legacy-systems.biz/longview2500/public_links

This is what happens when I run that
Dans-Mac-Pro:legacy_systems danallen$ wget -r -E -e robots=off -k -p -np -nc --random-wait \
> --recursive \
> --no-clobber \
> --page-requisites \
> --html-extension \
> --domains legacy_systems.biz \
> https://legacy-systems.biz/longview2500/public_links/public/public.php
Both --no-clobber and --convert-links were specified, only --convert-links will be used.
--2023-09-03 15:36:19-- https://legacy-systems.biz/longview2500/public_links/public/public.php
Resolving legacy-systems.biz (legacy-systems.biz)... 162.254.24.28
Connecting to legacy-systems.biz (legacy-systems.biz)|162.254.24.28|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘legacy-systems.biz/longview2500/public_links/public/public.php.html’

legacy-systems.biz/longview2500/public_lin [ <=> ] 30.31K --.-KB/s in 0.04s

2023-09-03 15:36:19 (801 KB/s) - ‘legacy-systems.biz/longview2500/public_links/public/public.php.html’ saved [31038]

FINISHED --2023-09-03 15:36:19--
Total wall clock time: 0.4s
Downloaded: 1 files, 30K in 0.04s (801 KB/s)
Converting links in legacy-systems.biz/longview2500/public_links/public/public.php.html... 1.
0-1
Converted links in 1 files in 0.001 seconds.
Dans-Mac-Pro:legacy_systems danallen$

I am have used wget() plenty of times over the years, but not in the most recent few years. I am pretty sure the fix to download everything is not that hard.

Do you know how?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.