From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 17:04:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E193B16A401 for ; Fri, 16 Mar 2007 17:04:55 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av11-1-sn2.hy.skanova.net (av11-1-sn2.hy.skanova.net [81.228.8.183]) by mx1.freebsd.org (Postfix) with ESMTP id A138913C48A for ; Fri, 16 Mar 2007 17:04:55 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id 716103802A; Fri, 16 Mar 2007 18:04:54 +0100 (CET) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id 60F2437EF8; Fri, 16 Mar 2007 18:04:54 +0100 (CET) Received: from [192.168.1.6] (81-231-90-251-no41.tbcn.telia.com [81.231.90.251]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 1803F37E55; Fri, 16 Mar 2007 18:04:53 +0100 (CET) Message-ID: <45FACE35.4010300@passagen.se> Date: Fri, 16 Mar 2007 18:04:53 +0100 From: Roger Olofsson User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Chris Maness References: <45FAC664.2040606@chrismaness.com> In-Reply-To: <45FAC664.2040606@chrismaness.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Rsync w/ Windows X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 17:04:56 -0000 Hello Chris, May I suggest that you take a peek at http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=6&MMN_position=23:23 As example I have the following syntax in my cwrsync.cmd (In this example I backup documents and settings from pc to FreeBSD by using the script cwrsync.cmd included in the cwrsync distribution. The script can be run with the windows scheduler) rsync --exclude-from=excludefiles.txt -avz --delete -e "ssh -i bin/.ssh/identify" "/cygdrive/c/documents and settings/username" user@freebsd.server.ip:/path/on/freebsd/server You will need to create a folder named .ssh in the bin folder of cwrsync and in that folder create the necessary ssh keys. Good luck! Chris Maness skrev: > I need to sync a directory with my freebsd box. In linux/bsd I use the > command rsync -vaur chris@foo.com:/home/chris/beer /home/chris/beer and > this works perfectly for me. However, using the cwrsync package in > windows with this syntax does not work. > > Pleas help! > Thanks... >