how do i scp .dotfiles??
Gary Kline
kline at thought.org
Thu Sep 2 17:52:31 UTC 2010
On Tue, Aug 31, 2010 at 02:48:28PM +0100, krad wrote:
> On 30 August 2010 20:02, Chris Rees <utisoft at gmail.com> wrote:
>
> > On 30 August 2010 18:37, krad <kraduk at googlemail.com> wrote:
> > > On 27 August 2010 20:13, Polytropon <freebsd at edvax.de> wrote:
> > >
> > >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten <Ggatten at 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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
--
Gary Kline kline at 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
More information about the freebsd-questions
mailing list