Date: Thu, 2 Sep 2010 10:52:20 -0700 From: Gary Kline <kline@thought.org> To: krad <kraduk@googlemail.com> Cc: Gary Gatten <Ggatten@waddell.com>, Polytropon <freebsd@edvax.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org>, utisoft@gmail.com Subject: Re: how do i scp .dotfiles?? Message-ID: <20100902175220.GA81006@thought.org> In-Reply-To: <AANLkTikqJNP1pFS-pDM7K79=3fCtDtXPpC7qpBy0NWSj@mail.gmail.com> References: <20100827170737.GA96063@thought.org> <26118_1282929673_4C77F409_26118_366_1_D9B37353831173459FDAA836D3B434999FDCA57D@WADPMBXV0.waddell.com> <20100827211306.68e261be.freebsd@edvax.de> <AANLkTikD4aZdvDur8A-6edZZD3%2B6YXo8Mgd2ga8x0xOY@mail.gmail.com> <AANLkTinhzUhrZtUXXt9D4B85%2BYQhziA%2BcmHB7eqapkr3@mail.gmail.com> <AANLkTikqJNP1pFS-pDM7K79=3fCtDtXPpC7qpBy0NWSj@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 31, 2010 at 02:48:28PM +0100, krad wrote: > On 30 August 2010 20:02, Chris Rees <utisoft@gmail.com> wrote: > > > On 30 August 2010 18:37, krad <kraduk@googlemail.com> wrote: > > > On 27 August 2010 20:13, Polytropon <freebsd@edvax.de> wrote: > > > > > >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten <Ggatten@waddell.com> > > >> 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 Just to make =sure= about this: can using tar/gtar as root [or sudo] make sure that all the permissions are correct? It =may= save me keystrokes, :_) gary > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100902175220.GA81006>