From owner-freebsd-questions@freebsd.org Tue Dec 8 18:09:24 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C71429D36D2 for ; Tue, 8 Dec 2015 18:09:24 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 917111119 for ; Tue, 8 Dec 2015 18:09:23 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from [24.134.33.72] (helo=workstation) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1a6MHH-0000X4-Bl; Tue, 08 Dec 2015 18:42:15 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org, "Patrick Hess" Subject: Re: Synchronizing directory hierarchies via SFTP References: <13761006.QDN0LtKzYl@desk8.phess.net> <5263162.JaugYyUJYb@desk8.phess.net> Date: Tue, 08 Dec 2015 18:42:11 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <5263162.JaugYyUJYb@desk8.phess.net> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.7/21141/Tue Dec 8 14:35:26 2015) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2015 18:09:24 -0000 Am .12.2015, 00:43 Uhr, schrieb Patrick Hess : > 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"