have only one file and you don't need 'scp -r'; e.g.,
cd /home
tar cvzf user.tar.gz user
scp user.tar.gz remote_machine:
Later you do
cd /home
scp remote_machine:usr.tar.gz
tar xvzf usr.tar.gz
Am I missing something?
Shing-Shong
>
> Here's one more. Before any fresh install, I used to do tar -xvzf
> on /home/user, then scp -r the tarball to another machine, then scp -r
> back after the install. But all sorts of oddments got messed up; I
> found out eventually that tar -xvzf doesn't follow symlinks.
>
> There's another switch for that, I disremember which. Instead of
> learning it, I got lazy, and just took to using some third machine
> while scp took up the bandwidth -- this on a mere home LAN, of course.
>
_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug
No comments:
Post a Comment