C
crazycelicagts
Hello everyone. I was wondering if someone can help me write a perl
program that does the following. I have a folder which contains a bunch
of files such as:
[folder]
a,b,c,d,e,f,g,.....
within those files is a line that has a statement, "File name:
TestA"...how do I write a program that goes in each of the files and
extract the "TestA" and rename the file "a" to "TestA" file. So in the
end, it will look like this:
[folder]
TestA, TestB, TestC, TestD, TestE, ....
If anyone can help me out, I would greatly appreciate it. Thanks.
program that does the following. I have a folder which contains a bunch
of files such as:
[folder]
a,b,c,d,e,f,g,.....
within those files is a line that has a statement, "File name:
TestA"...how do I write a program that goes in each of the files and
extract the "TestA" and rename the file "a" to "TestA" file. So in the
end, it will look like this:
[folder]
TestA, TestB, TestC, TestD, TestE, ....
If anyone can help me out, I would greatly appreciate it. Thanks.