From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 13:48:30 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 297B610656A7 for ; Tue, 31 Aug 2010 13:48:30 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id D2AE58FC1F for ; Tue, 31 Aug 2010 13:48:29 +0000 (UTC) Received: by gwj23 with SMTP id 23so2955632gwj.13 for ; Tue, 31 Aug 2010 06:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3+XT5NmyvGf8y01R2JBVLZrYPuZpww2Quhit5LWTQT0=; b=Pz14icEI4WAHuwzqHZtUqiJrufdcy6Jmk1tVO86AcVDixYyIEnPYW7kQCrGQuShJv1 dQ5haCK1XHmPAUtUWiKgpcfvf3zLRHvzC+ZxNrS8UuPcRZtXN2f30cWpGcEk9zB98Txv urb4/GU0ypn4q+bY/Oe21PUDbc/6ZNYwk15kY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XVIBu/WpJiqgL60T9G0Omp2jqtpal4vmTEAtuihVF0Rh9Dsl8zeHQvJWzeiJQWPthd rTNMeHmy1fL4b9XOX1CvpPXYSHSP+gkUb28DgiFXEVKXArruqA3iLBBdkKuVy9Ci3Swm WKMJHVc7E6/4ZuY65JBrSCxd2zjgbEpEzQzU4= MIME-Version: 1.0 Received: by 10.229.75.1 with SMTP id w1mr4228642qcj.100.1283262509187; Tue, 31 Aug 2010 06:48:29 -0700 (PDT) Received: by 10.229.189.70 with HTTP; Tue, 31 Aug 2010 06:48:28 -0700 (PDT) In-Reply-To: References: <20100827170737.GA96063@thought.org> <26118_1282929673_4C77F409_26118_366_1_D9B37353831173459FDAA836D3B434999FDCA57D@WADPMBXV0.waddell.com> <20100827211306.68e261be.freebsd@edvax.de> Date: Tue, 31 Aug 2010 14:48:28 +0100 Message-ID: From: krad To: utisoft@gmail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Gary Gatten , Gary Kline , Polytropon , FreeBSD Mailing List 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: Tue, 31 Aug 2010 13:48:30 -0000 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