LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-03-2004, 12:21 PM   #1
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
LFTP , mget question


Hey Guys , I have a ftp server that I would like to replicate as a backup. there are about 30 files in the root folder, as well as 10 sub folders.

When I connect with lftp, do a 'mget *' it only copies the 30 files, and not the 10 sub-folders and their contents.

Anyone have an idea how I can get all my files in one command?
Thanks much
 
Old 09-03-2004, 01:09 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Read the man page for lftp. Look for the section about ftpcopy. It's obsolete, but it gives you some examples using get and mget. Also check into rsync as an alternative.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lftp Problem / Question LinuxGeek Linux - Software 5 11-02-2004 11:55 PM
Why we use bin before mget and mput during ftp indian Linux - General 1 09-04-2004 12:14 PM
Ftp and mget phishman3579 Slackware 1 07-31-2003 12:12 PM
ftp mget Sammy2ooo Linux - Networking 2 05-06-2003 12:53 PM
usage of mget FTP command sancho5 Linux - General 1 12-31-2001 10:27 AM


All times are GMT -5. The time now is 12:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration