On Thu, 8 Mar 2001, Vineeta wrote:

> Hi,
>   I have a requirement wherein I want to get all the contents of a home
> directory(ofcourse,I have access to it) recursively thru' ftp. I know of
> mget command.But,it doesn't create subdirectories on the local
> disk.Simply gets all files into one dir.
> I want the whole dir. structure to be maintained.
> Is there a way of doing it?
>

IF the directory is "/home/blah/", you can either do:

get /home/blah.tar.gz

and the ftp server tar(s) it up and sends it to you compressed, or you
can use "recursive" get:

mget -r /home/blah

(or is it "-R"? Have a look at the man pages)

cheers,
Hossein



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to