Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


mirroring_with_lftp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mirroring_with_lftp [2009/09/04 11:46] juckinsmirroring_with_lftp [2010/07/10 15:27] juckins
Line 1: Line 1:
 To mirror a website and do some sophisticated FTP commands, check out [[http://lftp.yar.ru/|lftp]] To mirror a website and do some sophisticated FTP commands, check out [[http://lftp.yar.ru/|lftp]]
-To mirror a directory, cd to local directory then do the following:+ 
 +To mirror a directory, cd to local directory first and then do the following:
 <code> <code>
 $ lftp [email protected] $ lftp [email protected]
 +lftt> cd <directory_as_appropriate>
 lftp> mirror -R -e -v -n (use --dry-run to just list files) lftp> mirror -R -e -v -n (use --dry-run to just list files)
 </code> </code>
mirroring_with_lftp.txt · Last modified: 2011/08/01 16:37 by juckins