On 28 August 2010 08:02, Gary Kline <[email protected]> wrote: > On Fri, Aug 27, 2010 at 09:13:06PM +0200, Polytropon wrote: >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten <[email protected]> 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. :-) >> > > If i'm going to rename, say, ~/.Plans to ~/Plans and ~/.HowtoI18 to > ~/HowtoI18, I may just scp -rp every ~/[.] file. the idea of using > find to collect a tarball may work. >
How about: $ tar cjf - *dotfile* | ssh machine 'tar xvjf -' Much less fiddly! Chris _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
