Hi All,
i am doing ftp
how can i transfer multiple different files
example-
03-21-13 06:33AM 46800 CATT_HOURS.pgp
03-21-13 06:33AM 266392 CATT_TAX.txt
03-21-13 06:33AM 91448 CATT_STATUS.txt
03-21-13 06:33AM 468 CATT_HOURS.pgp
i know will use mput how?
Thanks for you suggestions.
Thanks,
Krupa
sorry ...
Below are the list of files mixed with upper and lower case file extensions.
03-21-13 06:33AM 46800 CATT_HOURS.pgp
03-21-13 06:33AM 266392 CATT_TAX.txt
03-21-13 06:33AM 91448 CATT_STATUS.txt
03-21-13 06:33AM 468 CATT_HOURS.pgp
03-21-13 06:33AM 46800 CATT_HOURS.PGP
03-21-13 06:33AM 266392 CATT_TAX.TXT
03-21-13 06:33AM 91448 CATT_STATUS.TXT
03-21-13 06:33AM 468 CATT_HOURS.PGP
from here i need to transfer only lowercase extension files only ( CATT_HOURS.pgp,CATT_TAX.txt,CATT_STATUS.txt,CATT_HOURS.pgp)
Please give me some advice.
Thanks,
Krupa
Basically two ways to do it. First way has separate command for each extension:
mput CATT_*.txt
mput CATT_*.pgp
Second way is briefer, just one command, but possibly won't work on some systems, or dependent on glob command:
mput CATT_*.[a-z][a-z][a-z]
1 Like