I am brand new to Unix shell scripting. Got basic knowledge of commands and trying to write my first script. The problem: I have an archive folder with large amount of PDF and DOC files. Lot of them have both PDF and DOC version e.g. hello.doc and hello.pdf. I would like to remove all the pdf versions of these "duplicates" with identical filename and it does not matter if the actual file content is the same or not. I tried for past week to look for some solution but usually I found only solutions based on the file content.
Thank you very much for help.