When a server has a lot of .idc files and renaming them one at a time is not feasible.
RHEL 7.x 8.x
There are x number of incident .bad files exist on the Linux file system
in terminal cd to the inicident folder and run the following command:
for i in *.bad; do mv -- "$i" "${i%.bad}.idc"; done;