I have a list of directories that I want to go into and delete particular files.
For example, the directory names I have are as below:
091513
090213
082612
071611
020908
011009
...
062308
Each of these directories has 4 files in them and the file names are:
dealer_score_01.txt
dealer_score_02.txt
dealer_score_03.txt
dealer_score_04.txt
I want to write a script that would go into each of these directories and delete:
dealer_score_01.txt
dealer_score_03.txt
Can someone please help me with that?
No comments:
Post a Comment