I have a lot of folders that have names, say xyzabc123 and they all contain many subfolders, and there is consistent file name in all of the folders called title. This file is actually a file without any extension but has a different information.
For example, I have folders named palstr347, and palstr485, and each folder has a title file in its subfolders. I want to rename the title file as title.txt in all of them. Ideally I would like to duplicate the title file and rename that title_copy file as title.txt. But just renaming that original file works fine too.
Then I would like to extract the contents of the title.txt file, to rename the palstr347 folder with the contents from its subfolder file called the title.