Joel Uckelman on 21 Jul 2001 03:31:47 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: hosers-talk: yo


Quoth Jon Stewart:
> > >I want to blast away an entire directory, all at once. Although I suppose
> > >rmdir and rm are orthogonal, which is nice, I want the two combined. Any
> > >commands? Perl scripts?
> > 
> > I am utterly amused by this.
> > 
> > Better: is there a good way to ftp whole directory structures (for
> > when I transfer some files from vincent)? Poked around with ftp before
> > and despite mget, I'm still forced to build my own directories up by
> > hand on the receiving end (here) because mget doesn't descend.
> 
> 
> Maybe you could pipe it through tar, ftp it, then extract it from tar.
> 
> But you'd need a noninteractive ftp session.

I seem to remember that you can make ftp tar stuff for you on the fly. That 
would be in the ftp man page if it can be done. Otherwise I'd suggest 
tar-ing everything first, then ftping the tar.

-- 
J.