mirroring_with_lftp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mirroring_with_lftp [2009/09/04 11:46] – juckins | mirroring_with_lftp [2025/03/20 19:59] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | To mirror a website and do some sophisticated FTP commands, check out [[http:// | + | ==== Using lftp to Mirror a Website ==== |
- | To mirror a directory, cd to local directory then do the following: | + | |
+ | To mirror a website and do some sophisticated FTP commands, check out [[http:// | ||
+ | To mirror a directory, cd to local directory | ||
< | < | ||
$ lftp [email protected] | $ lftp [email protected] | ||
+ | lftt> cd < | ||
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) | ||
</ | </ | ||
Line 9: | Line 12: | ||
-v is verbose mode \\ | -v is verbose mode \\ | ||
-n transfers only new files \\ | -n transfers only new files \\ | ||
+ | |||
+ | Other tips: \\ | ||
+ | [[http:// |
mirroring_with_lftp.1252079165.txt.gz · Last modified: 2009/09/04 11:46 by juckins