From owner-freebsd-questions@FreeBSD.ORG Mon Aug 30 19:03:15 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 6F40E1065698 for ; Mon, 30 Aug 2010 19:03:15 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id EDCBA8FC14 for ; Mon, 30 Aug 2010 19:03:14 +0000 (UTC) Received: by bwz20 with SMTP id 20so4692502bwz.13 for ; Mon, 30 Aug 2010 12:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; bh=VT69Zp1oFWYmkUHcJ/Dp49kkAgFtm7NxKqTWxdKpV8w=; b=ufmYpkmAQFCAf26FTPklC/99ViVFl+dFidgdsrpRGnbDKqs7WFps0387r90BA5szU7 gORqSUSnMVyTl9jljPd0g5aCxeaaWkZMvHOBdcc9vbgPy3nktLJgLi7gC+anMQA9KNKa DsCuVXCGTcwha9eYtFkR86pBeiIPTgfnb8jUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; b=BTTwI9IXABOMsIGdoga4IyjCfMCh2N+rMrkyqb/oLCz5kK0osRPuqP2UYozMLPZWjH XsSITVD2txLVI/faGB+YyDYxSu5W79YhjZvIe6eDDKfED5Rrbc3qy/7dSfCc3RZFyOsl PzK/WkKlvJCpMqx/MD54iFiWRwKvsszDxhxe8= Received: by 10.204.59.69 with SMTP id k5mr2811231bkh.195.1283194993164; Mon, 30 Aug 2010 12:03:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.123.78 with HTTP; Mon, 30 Aug 2010 12:02:43 -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> From: Chris Rees Date: Mon, 30 Aug 2010 20:02:43 +0100 Message-ID: To: krad Content-Type: text/plain; charset=ISO-8859-1 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 Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 19:03:15 -0000 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