I'm on opensus 11.3 and I am looking for a bash script to do the following:
Create directories and rename them from a
.txtlist, each new name is a new line on that .txtCopy
file.phpfrom to each new directory, and rename allfile.phpfiles in those directories to a specific name.Print a
"/< php ? >/"string into the first line in each of those files.
I assume the best and fastest to accomplish this will be in bash, if you have another idea I will be happy to listen.