From owner-freebsd-questions@FreeBSD.ORG Fri Oct 27 17:45:35 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 937F016A40F for ; Fri, 27 Oct 2006 17:45:35 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB0A443D55 for ; Fri, 27 Oct 2006 17:45:34 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id k9RHjIWL088602 for ; Fri, 27 Oct 2006 10:45:28 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id k9RHjHf3088600 for freebsd-questions@FreeBSD.ORG; Fri, 27 Oct 2006 10:45:17 -0700 (PDT) (envelope-from kline) Date: Fri, 27 Oct 2006 10:45:12 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20061027174512.GA88552@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Subject: rsync does not --exclude: (??) 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, 27 Oct 2006 17:45:35 -0000 People, Weeks ago I tried this *without* the --exclude flags and overwrote DOT file that I didn't want to. Iust rechecked this use of rsync, saving important files from my work server elseswhere, and see that some files or directories are being listed and copied over. IDoes anything obvious jump out here? gary # ## test2ethos.sh # rsync -Cptuvaz -n -e "ssh -i /home/kline/.ssh/tao_XXXYYYZZZ-id" \ --exclude /home/kline/.zlogin \ --exclude /home/kline/.zshrc \ --exclude /home/kline/.zhistory.* \ --exclude /home/kline/.ctwrm \ --exclude /home/kline/.mozilla \ --exclude /home/kline/.evolution \ --exclude /home/kline/4zip/ \ --exclude '/home/kline/www/' \ /home/kline kline@ethos:/home/kline if [ $? = 0 ] then echo "rsync transfer went okay: tao to ethos" else echo "rsync failed to ethos from /home/kline"|mail kline@thought.org fi -- Gary Kline kline@thought.org www.thought.org Public service Unix