Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 10:54:52 -0700
From:      Jason <jhelfman@e-e.com>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: how do i scp .dotfiles??
Message-ID:  <20100827175452.GD53891@eggman.experts-exchange.com>
In-Reply-To: <20100827175141.GB96341@thought.org>
References:  <20100827170737.GA96063@thought.org> <4C77F3AC.8020908@gmail.com> <20100827102501.79222db6@eggman> <20100827175141.GB96341@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <glen.j.barber@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100827175452.GD53891>