Re: ftp

From: Michele Andreoli ([email protected])
Date: Mon Dec 04 2000 - 13:25:31 CET


On Mon, Dec 04, 2000 at 10:10:47AM +0000, Daniel Bourrion nicely wrote:
> Hi.
>
> Remember : i've two PC, a desktop running under Mandrake 7.0 and a
> Thinkpad laptop under mulinux.
> My desktop is a ftp server, and i'd like to update my Thinkpad from this
> server.
> How can i do to simply update all the files in /desktop/work/ to the
> /laptop/DOS/ ? (there are some subdirectories in the /desktop/work/
> directorie, and update should be recursive in those directories)
>

on the desktop
                # cd /desktop/work
                # tar -cf- * > all.tar
                # cat all.tar | nc -l -p 5555

on the MU

                # nc server-host-name 5555 > all.tar

After very long time (if all.tar is not chaning anymore), the transfer
is finished.

Now you can un-tar the all.tar in the DOS:

                # cd /DOS
                # tar -zf /where/is/all.tar

Michele

-- 
In summing up, I wish I had some kind of affirmative message to leave
you with, I don't. Would you take two negative messages? - Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:17 CET