I cant come up with a smooth way to do this.
But I have an ftp output file that looks like this.
/users/ftp4csc/bad_files/dummy.DAT /extracts/test/bad_files/dummy.DAT
/users/ftp4csc/bad_files/dummy.txt /extracts/test/bad_files/dummy.txt
/users/ftp4csc/bad_files/dummy1.txt /extracts/test/bad_files/dummy1.txt
/users/ftp4csc/checks/dummy2.txt /extracts/cntrl/Comm/dummy2.txt
/users/ftp4csc/checks/dummy3.txt /extracts/cntrl/Comm/dummy3.txt
This is just a small part of it, but in certain directories I only want to download *.DAT files from bad_files directories, and ignore the rest from that particular directory. The rest to be leaved intact.
Any idea's?
Thanks in advance
But I have an ftp output file that looks like this.
/users/ftp4csc/bad_files/dummy.DAT /extracts/test/bad_files/dummy.DAT
/users/ftp4csc/bad_files/dummy.txt /extracts/test/bad_files/dummy.txt
/users/ftp4csc/bad_files/dummy1.txt /extracts/test/bad_files/dummy1.txt
/users/ftp4csc/checks/dummy2.txt /extracts/cntrl/Comm/dummy2.txt
/users/ftp4csc/checks/dummy3.txt /extracts/cntrl/Comm/dummy3.txt
This is just a small part of it, but in certain directories I only want to download *.DAT files from bad_files directories, and ignore the rest from that particular directory. The rest to be leaved intact.
Any idea's?
Thanks in advance