web analytics

Posts Tagged ‘mirror’

Mirror websites with lftp

Written by config on . Posted in Linux, Ubuntu

Advertisement

There are lots of methods to mirror websites, you could use tons of Gui tools or just use Curl, wget or httrack. But as usual with linux there is a simpler and/or “better” method – lftp. It works great for mirroring Apache directory listings.

Try this next time you want to mirror a website:

lftp -e "mirror -c" http://greatdomain.com/somedir/

oh and if there is “command not found” after you try it then:

for Debian based systems ( like ubuntu or debian itself )

sudo apt-get install lftp 

for Rpm based ( like Centos or Fedora )

yum install lftp

for Mac OSX you could use MacPorts – http://www.macports.org