How to mirror a remote server to local folder with lftp
To mirror a remote server to local folder with lftp
if you want to download files in parallel switch out
lftp sftp://user:password@server.org:22 -e 'mirror --verbose --use-pget-n=8 -c /remote/path /local/path'sftp://= uses SFTP protocolmirror= mirror modeverbose= shows the files being downloadeduse-pget-n= number of segments, realy useful to speed up big filesparallel= downloads multiplier files at the same time
if you want to download files in parallel switch out
use-pget-n=8 with --parallel=8