From: Mark Roberts (mu@manumark.de)
Date: Tue Dec 05 2000 - 16:26:41 CET
On Mon, 4 Dec 2000, Michele Andreoli wrote:
> 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
Lookout! You left out an important space. You need to type
# tar -cf - * > all.tar
otherwise the archive will be created on top of your file aaa.important
(or whatever) and all.tar will remain empty.
Mark Roberts
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:17 CET