Date: Sat, 28 Aug 2010 10:25:55 +0100 From: Chris Rees <utisoft@gmail.com> To: Gary Kline <kline@thought.org> Cc: Gary Gatten <Ggatten@waddell.com>, Polytropon <freebsd@edvax.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: how do i scp .dotfiles?? Message-ID: <AANLkTikYc-25doQosrL2g1k3wsTiVjxjwtCPOO6oWtLy@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28 August 2010 08:02, Gary Kline <kline@thought.org> wrote: > On Fri, Aug 27, 2010 at 09:13:06PM +0200, Polytropon wrote: >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten <Ggatten@waddell.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikYc-25doQosrL2g1k3wsTiVjxjwtCPOO6oWtLy>