*BSD News Article 77881


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!noos.hooked.net!www.nntp.primenet.com!nntp.primenet.com!newspump.sol.net!spool.mu.edu!newshub.tc.umn.edu!skypoint.com!not-for-mail
From: jrc@skypoint.com (Jeff Comstock)
Newsgroups: unix.general,unix.hacks,unix.sys,comp.unix.questions,comp.unix.admin,comp.unix.shell,comp.unix.misc,comp.unix.bsd,comp.os.linux,comp.unix.solaris,comp.unix.sys5.r4,comp.unix.user-friendly,comp.security.unix,comp.unix.unixware,comp.unix.i386,comp.unix.bsd.bsdi.misc,comp.unix.sco.misc
Subject: Re: ftp gurus needed
Date: 9 Sep 1996 11:31:32 -0500
Organization: SkyPoint Communications Inc.
Lines: 54
Distribution: inet
Message-ID: <511gp4$fur@mirage.skypoint.com>
References: <50n5su$22m@magus.cs.utah.edu> <322F5D5B.6684@tkg.com>
NNTP-Posting-Host: mirage.skypoint.com
Xref: euryale.cc.adfa.oz.au comp.unix.questions:87324 comp.unix.admin:47045 comp.unix.shell:36440 comp.unix.misc:24978 comp.unix.bsd:16818 comp.unix.solaris:81963 comp.unix.sys5.r4:11325 comp.unix.user-friendly:4012 comp.security.unix:27622 comp.unix.i386:7472 comp.unix.bsd.bsdi.misc:4825 comp.unix.sco.misc:24060

In article <322F5D5B.6684@tkg.com>, Curt Finch 4138005  <curt@tkg.com> wrote:
>Roger Simmons wrote:
>> 
>> Summary:
>> Keywords:
>> 
>> I have 3 questions RE: ftp all releated:
>> 
>> I am looking for a program/utility or way to do the following:
>> 
>> 1.      Is there a way to execute a unix command at the remote host while at
>>         the ftp prompt?
>>         I want to obtain a directory listing(including subdirectories) on the
>>         remote server.  I need to execute:
>>                 find . -type d  > dirlist.out
>> 
>>         and then ftp this file to the local machine
>> 
>> 2.      Also is there a way to transfer an entire directory structure
>>         from the remote host to the local machine while retaining the
>>         directory structure on the local machine?
>> 
>> 3.      Is there a command that will ftp an entire directory structure and put
>>         it all in 1 tar file on the local machine.
>> 
>>         boy this sure would be nice!
>> The remote system is SVR4.2
>> 
>> TIA
>> 
>> Roger
>
>i heard about a system at one point that uses ftp to mirror
>an fs locally.  that would give you what you want, maybe.  it
>was slow because every cd or cat would result in an ftp operation.
>i don't remember the name of the fs
>
That would be plan 9 from att.com.  See http://plan9.att.com

Also, someone is working on this for Linux.

>good luck
>
>--
>Curt Finch - The Kernel Group Inc. - curt@tkg.com - (512)413-8005
> - Find memory bugs even in stripped AIX binaries with a 7 day -
>   - FREE Evaluation of ZeroFault at ... http://www.tkg.com/ -


-- 
Jeffrey Comstock
INET: jrc@brainiac.mn.org          
WWW:  http://www.skypoint.com/members/jrc/
CW:   -. .-. ----- -..