Opened 3 years ago

Last modified 3 years ago

#334 new new-feature

script for reporting files in same dirs which are same name except case

Reported by: Fred T. Hamster Owned by:
Priority: minor Milestone:
Component: feistymeow-scripts Version:
Keywords: Cc:

Description (last modified by Fred T. Hamster)

need script that reports files in same dirs which are same except case

this could be VERY useful for fixing new vegas screwups.

the script would take a particular directory (or dirs)
and find all the names in that directory which happen to be
identical when considered in case insensitive light.

this fixes a common problem when trying to do windows stuff
on linux, since windows is not case sensitive.

afterwards, another script could use the list of names
found by this guy and:

+ pile the files in the all lc name into the one that starts with capital letter (or is all UC).
+ complain if anything collided.
+ remove the lc name.
+ make a link from the cap first letter name to a new lc name.
+ bingo, done-o.

could also do reverse and make the lc name the default, but windows is ugly and the caps names are really expected by some people.

Change History (1)

comment:1 Changed 3 years ago by Fred T. Hamster

Description: modified (diff)
Note: See TracTickets for help on using tickets.