Login | |
|
 |
RE: Calling Functions - 9/28/2007 2:40:23 AM
|
|
 |
|
| |
mcds99
Posts: 434
Score: 4
Joined: 2/28/2006
Status: offline
|
Thanks ebgreen. I'm in the process of inheriting an application support position. There are some maintenance issues on the test side. This application has Main Frame, UNIX, and Windows all interfacing, files get copied all over the place. There is some code that's outside the application that doesn't cleanup after itself and they wont change it. I really don't want to do an "rm xyz0788465597089854646.ext" on 3900 + files a few at a time. Just to make it interesting I have to leave specific files that are grouped, the business side wants them. 8-O I'm going to read 2 file names from the list, determine the file name extensioin of the first and second file names. If the first file name extension is (lets say) george and the second file name extension is john I'll write them to a file that will become the script and delete them, If the names are ringo or paul I'll just leave them alone. This wont be a one time operation I'll be able to use the script when I see the directory getting lots of these files in it. It will be a maintenance tool. It's an odd situation and the names have been changed to protect my job ;-) Sam.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|