From owner-freebsd-questions@FreeBSD.ORG Fri Aug 27 17:57:18 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 6ECEE1065674 for ; Fri, 27 Aug 2010 17:57:18 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 480D08FC0A for ; Fri, 27 Aug 2010 17:57:18 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 1A799F2FA1C; Fri, 27 Aug 2010 10:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1282931837; x=1284746237; bh=SPnOzyFOwmp7CuVtcbh8JGOIt/g9npE5ZY9 ddihJ1B4=; b=YJzWEfa7am+DCN7NC1UoMuGluSfjBPcEq3V11dzBUuJ3PMj9/Ns 9FW0Sym4tP/7Ft1scXh5cPzb0pw/jX4FsF6dukARru1ae0NP5nU2olWQIQ9PWShJ 4cq4qHXWUo+r3kiuqyfnA4O95hTeXMNoCPyduKeyf5PIK193ecIPVF/s= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xmLd9vKL15IJ; Fri, 27 Aug 2010 10:57:17 -0700 (PDT) Received: from eggman.experts-exchange.com (unknown [192.168.103.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jhelfman) by mail.experts-exchange.com (Postfix) with ESMTPSA id C586DF2F8EA; Fri, 27 Aug 2010 10:57:16 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Fri, 27 Aug 2010 10:54:52 -0700 Date: Fri, 27 Aug 2010 10:54:52 -0700 From: Jason To: Gary Kline Message-ID: <20100827175452.GD53891@eggman.experts-exchange.com> References: <20100827170737.GA96063@thought.org> <4C77F3AC.8020908@gmail.com> <20100827102501.79222db6@eggman> <20100827175141.GB96341@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20100827175141.GB96341@thought.org> X-Operating-System: FreeBSD 7.3-RELEASE-p1 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: 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: Fri, 27 Aug 2010 17:57:18 -0000 On Fri, Aug 27, 2010 at 10:51:41AM -0700, Gary Kline thus spake: >On Fri, Aug 27, 2010 at 10:25:01AM -0700, Jason Helfman wrote: >> On Fri, 27 Aug 2010 13:19:40 -0400 >> Glen Barber wrote: >> >> > On 8/27/10 1:07 PM, Gary Kline wrote: >> > > >> > > guys, >> > > >> > > this is the start of my master switchover. how to i copy/scp,say, >> > > ~/.purpur to home/kline/.purple? along with many hundreds of other >> > > dot files? scp doesn't do it. >> > > >> > > tx, >> > > >> > >> > scp user@foo:\.dotfile .dotfile >> > >> > Regards, >> > >> >> Use rsync over ssh. >> >> > > > i've already done 98 or so straight scp copies. the thing is how > to use rsync over to an empty ethic? [[ empty == "there are no \ > dot files not .directories"] i want EVERYTHING from this desktop, > tao, temp on ethic. > > thanks > > You can just use rsync in cooperation with find command. I've used it before, but found this as an example with a web search. rsync -avR remote:'`find /home -name "*.[ch]"`' /tmp/ Just reverse the order. -jgh