Striper Talk Striped Bass Fishing, Surfcasting, Boating

     

Left Nav S-B Home Register FAQ Members List S-B on Facebook Arcade WEAX Tides Buoys Calendar Today's Posts Right Nav

Left Container Right Container
 

Go Back   Striper Talk Striped Bass Fishing, Surfcasting, Boating » Striper Chat - Discuss stuff other than fishing ~ The Scuppers and Political talk » Computers

Computers Sidetrack to Computers, Questions on your home computer? Posting just for registered members....

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-19-2004, 10:59 AM   #1
MountainBreeze
Registered User
iTrader: (0)
 
MountainBreeze's Avatar
 
Join Date: Sep 2002
Location: Andover, CT
Posts: 839
Question UNIXFTP get / mget Q's...

I need to retrieve all files ending in .htm, in multiple dirs, off the root dir of a server.

Does anyone know if get or mget can be used to do this?

Thanks,
Rob
MountainBreeze is offline   Reply With Quote
Old 03-19-2004, 11:25 AM   #2
JohnR
Certifiable Intertidal Anguiologist
iTrader: (1)
 
JohnR's Avatar
 
Join Date: Feb 2000
Location: Somewhere between OOB & west of Watch Hill
Posts: 34,977
Blog Entries: 1
Haven't tried i a while but can you do a *.htm -R for recursive?

~Fix the Bait~ ~Pogies Forever~

Striped Bass Fishing - All Stripers


Kobayashi Maru Election - there is no way to win.


Apocalypse is Coming:
JohnR is offline   Reply With Quote
Old 03-19-2004, 12:34 PM   #3
MountainBreeze
Registered User
iTrader: (0)
 
MountainBreeze's Avatar
 
Join Date: Sep 2002
Location: Andover, CT
Posts: 839
Thanks for the reply John.

I played around a bit and this is what I got:

mget * will get all files, in all dirs and dump them into the CURRENT dir on the client (does not create dirs that are on server)

mget *.htm will get only .htm files in CURRENT dir

Also tried other variations but to no avail.

I thought about a recursive parameter but couldn't find anything on it. I tried the -r and got an error.

Dontcha' just love computers?

Cheers,
Rob
MountainBreeze is offline   Reply With Quote
Old 03-19-2004, 12:38 PM   #4
JohnR
Certifiable Intertidal Anguiologist
iTrader: (1)
 
JohnR's Avatar
 
Join Date: Feb 2000
Location: Somewhere between OOB & west of Watch Hill
Posts: 34,977
Blog Entries: 1
Try a capital R - for grins and giggles. One day I remember it making a difference

~Fix the Bait~ ~Pogies Forever~

Striped Bass Fishing - All Stripers


Kobayashi Maru Election - there is no way to win.


Apocalypse is Coming:
JohnR is offline   Reply With Quote
Old 03-19-2004, 01:31 PM   #5
MountainBreeze
Registered User
iTrader: (0)
 
MountainBreeze's Avatar
 
Join Date: Sep 2002
Location: Andover, CT
Posts: 839
Didn't work.

Of course, it could be the version of UNIX/mget or the FTP config on the server.

Thanks for the help though John.

Hope to catch up w/ ya' at the water ths year!

Rob
MountainBreeze is offline   Reply With Quote
Old 03-19-2004, 03:40 PM   #6
leptar
eh! What do you mean?
iTrader: (0)
 
leptar's Avatar
 
Join Date: Sep 2003
Location: Tiverton
Posts: 763
try using the cp command.. we used this alot with HP-UNIX


cp -r sourcedir targetdir

I think you need to make the new directory first...

-R i think is an unconditional copy where reguardless of the tags on the file it will copy it
leptar is offline   Reply With Quote
Reply

Bookmarks


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

Forum Jump


All times are GMT -5. The time now is 03:26 AM.


Powered by vBulletin. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Please use all necessary and proper safety precautions. STAY SAFE Striper Talk Forums
Copyright 1998-20012 Striped-Bass.com