Synchronizing directory hierarchies via SFTP

Michael Ross gmx at ross.cx
Tue Dec 8 18:09:24 UTC 2015


Am .12.2015, 00:43 Uhr, schrieb Patrick Hess <patrickhess at gmx.net>:

> Anton Sayetsky wrote:
>> Do you have a shell or only SFTP access? rsync supports SSH natively.
>
> Nope, no shell access, only SFTP, so rsync is not an option.
>
> Just came across LFTP, http://lftp.yar.ru. According to the feature list,
> it has support for SFTP and also comes with a "built-in mirror and  
> reverse
> mirror" option. And, even better, it's already in the ports as ftp/lftp.
> Seems worth investigating, but that'll have to wait till tomorrow.

lftp is used a lot here to mirror directories via sftp. Would recommend.

You can script your transfer jobs nicely ( like, "cd somewhere || exit 1"  
).
Check out the fine-tuning available with "set -a".


Regards,

Michael



>
> Patrick
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to  
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list