I have a folder with 3 subfolders containing 6 files each.There are 2 files in each subfolders with
:NOPM in their file names.
I need to create a shell script that checks all the folders and their subfolders. If there are any file names with
:NOPM, then this should be removed from the name. If there is another file with the same name, it should be deleted and every interaction should be logged into a log.txt.