From owner-freebsd-questions@freebsd.org Mon Dec 7 23:19:54 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 92F559D36AE for ; Mon, 7 Dec 2015 23:19:54 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3529A1A58 for ; Mon, 7 Dec 2015 23:19:54 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmww144 with SMTP id w144so160524828wmw.1 for ; Mon, 07 Dec 2015 15:19:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TXlh4BNaMm+iOAbz3/ZwuVSJu8x/MwEWKtfFAdX2tfw=; b=TfyC5OoW60uXaSSAuzIIKBQrvtecaAdDQfiS/aVSQ8FGNjHCr/7xqxfyf8fS9o4YSq aoIC5WFgbHVfi/PiAT082btvmyZVXqcdO7Rs1t84M8eA/VU4U8YyxUr6NTpTZsO5LIJZ 34C/q/zcD7zGv5+s808AVg18GJ8G5KndfohKbXF30E+jrqQ+XnVOAuKmJXGc5zCO1epU j/RiddR/dnTLAjANT+SifT1KH+KaSZLLzmxbJrDgYs3z2PUdCFxcoFzC1VuHIOOxrhOR qJnfo1ykVvQtkizkv/fEUntxbcpXF8qpbmvLEz4fY8+lenhaBgFdvuLf9uQGQuCobPDX rdhg== X-Received: by 10.194.174.201 with SMTP id bu9mr344658wjc.81.1449530392745; Mon, 07 Dec 2015 15:19:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Mon, 7 Dec 2015 15:19:33 -0800 (PST) In-Reply-To: <13761006.QDN0LtKzYl@desk8.phess.net> References: <13761006.QDN0LtKzYl@desk8.phess.net> From: Anton Sayetsky Date: Tue, 8 Dec 2015 01:19:33 +0200 Message-ID: Subject: Re: Synchronizing directory hierarchies via SFTP To: Patrick Hess Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 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: Mon, 07 Dec 2015 23:19:54 -0000 2015-12-07 23:13 GMT+02:00 Patrick Hess : > Hi, > > what command-line tool could you recommend if you were in the need > to synchronize a complete directory hierarchy from your local system > to a remote server via SFTP? In the past, I was always able to use > tools like cpdup or rsync for this kind of job, but this time SFTP > is the only game in town. :-( > > I actually had a hard time finding anything useful. The only thing > that came up so far is https://www.csync.org, which compiles fine on > FreeBSD and does exactly what I need. Unfortunately, there doesn't > seem to exist a port yet. There's net/csync2, but that's completely > unrelated to www.csync.org. > > So before I go and create a new port for csync, is there anything > similar already available in the ports? Do you have a shell or only SFTP access? rsync supports SSH natively.