Okay, so it’s for a game mod, so it’s technically gaming related but I figure this is more of a general command thing so here I am. Mod contains hundreds of files/folders which need to merge with existing folders and overwrite existing files.
The problem is that the mod author packaged most of the replacement files in lower case and most of the originals (not all) are in upper case. Not a problem for those on Windows but with Linux being case sensitive we end up with a bunch of files of the same name in different cases causing conflicts. e.g.
mod contains
data/auth/a0030/a0030.adx
Original contains
data/auth/A0030/A0030.adx
Now the original casing has to be kept intact as there are other files that the mod doesn’t provide replacements for.