Created
November 30, 2023 14:06
-
-
Save ahmetozer/3121a3bc96bdce6f410aeb7921a5b035 to your computer and use it in GitHub Desktop.
convert or backup your wordpress website with httrack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
httrack https://www.yourwebsite.com -i -O "/Users/ahmet.ozer/websites/yourwebsite" \ | |
"*yourwebsite.com*" "-*wp-json*" "-*replytocom*" "-*p=*" "-*/feed*" \ | |
--connection-per-second=50 --sockets=80 --keep-alive --display --verbose \ | |
--advanced-progressinfo --disable-security-limits -s0 -o0 \ | |
-F 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36' \ | |
--max-rate=0 --cache 1 --do-not-recatch --purge-old 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment