Skip to content

Instantly share code, notes, and snippets.

Avatar

Jabiertxo Arraiza Cenoz jabiertxof

View GitHub Profile
@adliwahid
adliwahid / mirror.sh
Created Apr 17, 2016
httrack for mirroring site on archive.org (waybackmachine)
View mirror.sh
#this is useful for copying snapshotted sites at archive.org
#copied from http://superuser.com/questions/532036/trouble-using-wget-or-httrack-to-mirror-archived-website
#replace ${wayback_url} with the full URL i.e. http://web.archive.org/web/20020705161639/http://kict.iiu.edu.my/
#replace ${domain_name} with the domain name of the site you'r mirroring without the 'http', so kict.iiu.edu.my
httrack\
${wayback_url}\
'-*'\
'+*/${domain_name}/*'\
-N1005\
--advanced-progressinfo\