rangerbud249
Active member
- Joined
- Aug 18, 2004
- Messages
- 27
- Programming Experience
- Beginner
Im having trouble finding code that will help me go thru a list of folders to check if it contains certain files.
ex:
once I connect to the folder LinuxLogFiles I have hundreds of folders within that folder.
I need to go thru each of those folders and see if it contains a:
VSU.log, local1.log,
If it does I need it to also check if it contains a :
seen.txt, parsed.txt, or seen.txt and parsed.txt
If it does then I will perform different actions.
I just graduated from college and started working last week. I think my company has really high expectations of me because this coding stuff is really hard and they think i could do it.
Any help will be greatly appreciated.
jose
ex:
once I connect to the folder LinuxLogFiles I have hundreds of folders within that folder.
I need to go thru each of those folders and see if it contains a:
VSU.log, local1.log,
If it does I need it to also check if it contains a :
seen.txt, parsed.txt, or seen.txt and parsed.txt
If it does then I will perform different actions.
I just graduated from college and started working last week. I think my company has really high expectations of me because this coding stuff is really hard and they think i could do it.
Any help will be greatly appreciated.
jose