From owner-freebsd-questions@FreeBSD.ORG Sat Aug 28 09:26:26 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 8B59B10656E4 for ; Sat, 28 Aug 2010 09:26:26 +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 157FB8FC19 for ; Sat, 28 Aug 2010 09:26:25 +0000 (UTC) Received: by bwz20 with SMTP id 20so3008206bwz.13 for ; Sat, 28 Aug 2010 02:26:25 -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:content-transfer-encoding; bh=ah8dCEpPaRST5Pa3OCNij+amLtPv0B+sf6v6woUnCfc=; b=p7q0x22NJHk8WXUNsmtsApC2Tx8pIPhslGGJD5SSPw4FSF7/H6Nf9Yu5VqyWuPndcZ uaFknDH73CtviSOnRP9q7JGyca390aYr3WyI7sSebbto16nOocFpoFsO6zr24xrli1Ib DFCl5qXZklLLmYL/+uNM2ke4SyKFZ5WNRxtzg= 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:content-transfer-encoding; b=oGWw3kk7MUNI43KmQ4nlsh4fKlFeO7Fj4z7v5KFS7MNXQ1EGoW2SP5gerpTk2hCb2D yIBfhKU3pS4+NRhQv9Jyb9zNGDZwPjXkeKy1hohO92rbjWjzCKbwcUUvGhgaM/Fv8OS8 c9qy6dou06JQ2yF32EPKq/W36Uc9pwbCCPVy8= Received: by 10.204.57.9 with SMTP id a9mr1326696bkh.104.1282987585129; Sat, 28 Aug 2010 02:26:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.123.78 with HTTP; Sat, 28 Aug 2010 02:25:55 -0700 (PDT) In-Reply-To: <20100828070231.GA98502@thought.org> References: <20100827170737.GA96063@thought.org> <26118_1282929673_4C77F409_26118_366_1_D9B37353831173459FDAA836D3B434999FDCA57D@WADPMBXV0.waddell.com> <20100827211306.68e261be.freebsd@edvax.de> <20100828070231.GA98502@thought.org> From: Chris Rees Date: Sat, 28 Aug 2010 10:25:55 +0100 Message-ID: To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Gary Gatten , 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: Sat, 28 Aug 2010 09:26:26 -0000 On 28 August 2010 08:02, Gary Kline wrote: > On Fri, Aug 27, 2010 at 09:13:06PM +0200, Polytropon wrote: >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten wr= ote: >> > 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. :-) >> > > If i'm going to rename, say, ~/.Plans to ~/Plans and ~/.HowtoI18 to > ~/HowtoI18, I may just scp -rp every ~/[.] file. =A0the idea of using > find to collect a tarball may work. > How about: $ tar cjf - *dotfile* | ssh machine 'tar xvjf -' Much less fiddly! Chris