I want to add particular text to multiple files in each directories
Directories such as d1,d2,d3 so on. Each directory contains a unique file name named print.txt but contains different content. I want to add a particular text to each of the text file. How to add the text?