Skip to content

Instantly share code, notes, and snippets.

@ahmetozer
Created November 30, 2023 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmetozer/3121a3bc96bdce6f410aeb7921a5b035 to your computer and use it in GitHub Desktop.
Save ahmetozer/3121a3bc96bdce6f410aeb7921a5b035 to your computer and use it in GitHub Desktop.
convert or backup your wordpress website with httrack
#!/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