Some cloud storage services let one download chosen directories as ZIP archives. But it appears that, on one of such services, the archives contain different-cased versions of the same directory. E.g. if I have Books
directory stored in the cloud, the archive could have two entries for it: Books
and books
, and both of these may have some data – several files in one and others in another, so that total number of files is the same as in the cloud. And this problem happens recursively in the whole directory tree.
All cases I've seen only split the directories in no more than two versions: 1) correctly-named, and 2) all-lowercase.
I'd like, after (or in the process of) extracting this ZIP archive, to merge the directories, so that for each pair of case-differing directories I got only the correctly-named directory with all its original data as well as the data from its all-lowercase sister.
What is an easy way to do this?