From owner-freebsd-questions@FreeBSD.ORG Thu Sep 2 17:52:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945E21065695 for ; Thu, 2 Sep 2010 17:52:31 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id EC6B38FC13 for ; Thu, 2 Sep 2010 17:52:30 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o82HqL4Q031124; Thu, 2 Sep 2010 10:52:21 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 2 Sep 2010 10:52:21 -0700 (PDT) Date: Thu, 2 Sep 2010 10:52:20 -0700 From: Gary Kline To: krad Message-ID: <20100902175220.GA81006@thought.org> References: <20100827170737.GA96063@thought.org> <26118_1282929673_4C77F409_26118_366_1_D9B37353831173459FDAA836D3B434999FDCA57D@WADPMBXV0.waddell.com> <20100827211306.68e261be.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: Gary Gatten , Polytropon , FreeBSD Mailing List , utisoft@gmail.com Subject: Re: how do i scp .dotfiles?? 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: Thu, 02 Sep 2010 17:52:31 -0000 On Tue, Aug 31, 2010 at 02:48:28PM +0100, krad wrote: > On 30 August 2010 20:02, Chris Rees wrote: > > > On 30 August 2010 18:37, krad wrote: > > > On 27 August 2010 20:13, Polytropon wrote: > > > > > >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten > > >> wrote: > > >> > Rename them, copy, then rename them back? > > >> > > >> Not good for a whole bunch of files; in this case: tar them together, > > >> transfer the archive, untar it; rename afterwards if needed. :-) > > > > > > or > > > > > > sudo tar cf - /somepath | ssh x@y " sudo tar xvf - -C somepath " > > > > > > I agree with other posts though rsync is the easiest > > > > > > Why sudo with tar? > > > > Chris > > > > make sure all perms correct and can read all files Just to make =sure= about this: can using tar/gtar as root [or sudo] make sure that all the permissions are correct? It =may= save me keystrokes, :_) gary > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org