![]() |
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 |
Haven't tried i a while but can you do a *.htm -R for recursive?
|
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 |
Try a capital R - for grins and giggles. One day I remember it making a difference
|
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 |
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 |
All times are GMT -5. The time now is 01:03 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 1998-20012 Striped-Bass.com