Good Morning..
I have 100 files to be ftp from one serverA to two places(ServerB).
I am getting files in this format "FILE_12/23/2006.txt", (files are getting with date in them).
While moving the file to one folderA I have to rename the file by removing the date part and straight move to other folderB.
After successfull transfer of the files I have to deletes files transfered from ServerA.
Next part is I have to check for files in FolderB(ServerB),files which exceed more then 90 days has to get deleted.( ex: 12/23/2006+90 > current then delete the file).
I need to pull the date from the file.. How can I work this logic in a script.....
I am bad at the shell scripting..Any help is really great..
Thanks in advance,
Kumari..
I have 100 files to be ftp from one serverA to two places(ServerB).
I am getting files in this format "FILE_12/23/2006.txt", (files are getting with date in them).
While moving the file to one folderA I have to rename the file by removing the date part and straight move to other folderB.
After successfull transfer of the files I have to deletes files transfered from ServerA.
Next part is I have to check for files in FolderB(ServerB),files which exceed more then 90 days has to get deleted.( ex: 12/23/2006+90 > current then delete the file).
I need to pull the date from the file.. How can I work this logic in a script.....
I am bad at the shell scripting..Any help is really great..
Thanks in advance,
Kumari..