I have the following type of folder structure containing thousands of folders.
The folder names are as such with different names etc
.test
.test.subfolder
.test.subfolder.subsubfolder
.folder
.folder.one
.folder.two
.folder.one.one
What I need to achieve is the following:
I want the folders to be renamed e.g. from .test to test, and then move .test.subfolder so that the folder .subfolder is within the folder test without the ., and then .test.subfolder.subsubfolder so that subfolder is within the folder test and subsubfolder is within test/subfolder.
This needs to be recursive since there are many folders. Keep in mind that the files within the folders should still need to be intact.
Is this at all possible?