diff --git a/resources/data/patches_3rdparty/Noisegeek/Back to Tyrell.fxp b/resources/data/patches_3rdparty/Noisegeek/Back To Tyrell.fxp similarity index 100% rename from resources/data/patches_3rdparty/Noisegeek/Back to Tyrell.fxp rename to resources/data/patches_3rdparty/Noisegeek/Back To Tyrell.fxp diff --git a/resources/data/patches_3rdparty/Noisegeek/Bagpipes plugged in.fxp b/resources/data/patches_3rdparty/Noisegeek/Bagpipes Plugged In.fxp similarity index 100% rename from resources/data/patches_3rdparty/Noisegeek/Bagpipes plugged in.fxp rename to resources/data/patches_3rdparty/Noisegeek/Bagpipes Plugged In.fxp diff --git a/resources/data/patches_3rdparty/Noisegeek/Lost in electric woods.fxp b/resources/data/patches_3rdparty/Noisegeek/Lost In Electric Woods.fxp similarity index 100% rename from resources/data/patches_3rdparty/Noisegeek/Lost in electric woods.fxp rename to resources/data/patches_3rdparty/Noisegeek/Lost In Electric Woods.fxp diff --git a/resources/data/patches_3rdparty/Rozzer/Unisono mw at.fxp b/resources/data/patches_3rdparty/Rozzer/Unisono Mw At.fxp similarity index 100% rename from resources/data/patches_3rdparty/Rozzer/Unisono mw at.fxp rename to resources/data/patches_3rdparty/Rozzer/Unisono Mw At.fxp diff --git a/resources/data/patches_factory/Bass/Crush bass.fxp b/resources/data/patches_factory/Bass/Crush Bass.fxp similarity index 100% rename from resources/data/patches_factory/Bass/Crush bass.fxp rename to resources/data/patches_factory/Bass/Crush Bass.fxp diff --git a/resources/data/patches_factory/Bass/Deep end.fxp b/resources/data/patches_factory/Bass/Deep End.fxp similarity index 100% rename from resources/data/patches_factory/Bass/Deep end.fxp rename to resources/data/patches_factory/Bass/Deep End.fxp diff --git a/resources/data/patches_factory/Bass/FM bass 1.fxp b/resources/data/patches_factory/Bass/FM Bass 1.fxp similarity index 100% rename from resources/data/patches_factory/Bass/FM bass 1.fxp rename to resources/data/patches_factory/Bass/FM Bass 1.fxp diff --git a/resources/data/patches_factory/Bass/FM bass 2.fxp b/resources/data/patches_factory/Bass/FM Bass 2.fxp similarity index 100% rename from resources/data/patches_factory/Bass/FM bass 2.fxp rename to resources/data/patches_factory/Bass/FM Bass 2.fxp diff --git a/resources/data/patches_factory/Bass/FM bass 3.fxp b/resources/data/patches_factory/Bass/FM Bass 3.fxp similarity index 100% rename from resources/data/patches_factory/Bass/FM bass 3.fxp rename to resources/data/patches_factory/Bass/FM Bass 3.fxp diff --git a/resources/data/patches_factory/Bass/FM bass 4.fxp b/resources/data/patches_factory/Bass/FM Bass 4.fxp similarity index 100% rename from resources/data/patches_factory/Bass/FM bass 4.fxp rename to resources/data/patches_factory/Bass/FM Bass 4.fxp diff --git a/resources/data/patches_factory/Bass/FM bass 5.fxp b/resources/data/patches_factory/Bass/FM Bass 5.fxp similarity index 100% rename from resources/data/patches_factory/Bass/FM bass 5.fxp rename to resources/data/patches_factory/Bass/FM Bass 5.fxp diff --git a/resources/data/patches_factory/Bass/FM bass 6.fxp b/resources/data/patches_factory/Bass/FM Bass 6.fxp similarity index 100% rename from resources/data/patches_factory/Bass/FM bass 6.fxp rename to resources/data/patches_factory/Bass/FM Bass 6.fxp diff --git a/resources/data/patches_factory/Bass/FM combo.fxp b/resources/data/patches_factory/Bass/FM Combo.fxp similarity index 100% rename from resources/data/patches_factory/Bass/FM combo.fxp rename to resources/data/patches_factory/Bass/FM Combo.fxp diff --git a/resources/data/patches_factory/Bass/Ring mayhem.fxp b/resources/data/patches_factory/Bass/Ring Mayhem.fxp similarity index 100% rename from resources/data/patches_factory/Bass/Ring mayhem.fxp rename to resources/data/patches_factory/Bass/Ring Mayhem.fxp diff --git a/resources/data/patches_factory/Bass/Rubber bass.fxp b/resources/data/patches_factory/Bass/Rubber Bass.fxp similarity index 100% rename from resources/data/patches_factory/Bass/Rubber bass.fxp rename to resources/data/patches_factory/Bass/Rubber Bass.fxp diff --git a/resources/data/patches_factory/Chord/Major 7 mkI.fxp b/resources/data/patches_factory/Chord/Major 7 MkI.fxp similarity index 100% rename from resources/data/patches_factory/Chord/Major 7 mkI.fxp rename to resources/data/patches_factory/Chord/Major 7 MkI.fxp diff --git a/resources/data/patches_factory/Chord/Major 7 mkII.fxp b/resources/data/patches_factory/Chord/Major 7 MkII.fxp similarity index 100% rename from resources/data/patches_factory/Chord/Major 7 mkII.fxp rename to resources/data/patches_factory/Chord/Major 7 MkII.fxp diff --git a/resources/data/patches_factory/Chord/Minor chord retro stab.fxp b/resources/data/patches_factory/Chord/Minor Chord Retro Stab.fxp similarity index 100% rename from resources/data/patches_factory/Chord/Minor chord retro stab.fxp rename to resources/data/patches_factory/Chord/Minor Chord Retro Stab.fxp diff --git a/resources/data/patches_factory/Chord/Tek stab.fxp b/resources/data/patches_factory/Chord/Tek Stab.fxp similarity index 100% rename from resources/data/patches_factory/Chord/Tek stab.fxp rename to resources/data/patches_factory/Chord/Tek Stab.fxp diff --git a/resources/data/patches_factory/FX/Fry's holophoner.fxp b/resources/data/patches_factory/FX/Fry's Holophoner.fxp similarity index 100% rename from resources/data/patches_factory/FX/Fry's holophoner.fxp rename to resources/data/patches_factory/FX/Fry's Holophoner.fxp diff --git a/resources/data/patches_factory/FX/Radio noise.fxp b/resources/data/patches_factory/FX/Radio Noise.fxp similarity index 100% rename from resources/data/patches_factory/FX/Radio noise.fxp rename to resources/data/patches_factory/FX/Radio Noise.fxp diff --git a/resources/data/patches_factory/FX/Rather low.fxp b/resources/data/patches_factory/FX/Rather Low.fxp similarity index 100% rename from resources/data/patches_factory/FX/Rather low.fxp rename to resources/data/patches_factory/FX/Rather Low.fxp diff --git a/resources/data/patches_factory/FX/Space adventure 1.fxp b/resources/data/patches_factory/FX/Space Adventure 1.fxp similarity index 100% rename from resources/data/patches_factory/FX/Space adventure 1.fxp rename to resources/data/patches_factory/FX/Space Adventure 1.fxp diff --git a/resources/data/patches_factory/FX/Space adventure 2.fxp b/resources/data/patches_factory/FX/Space Adventure 2.fxp similarity index 100% rename from resources/data/patches_factory/FX/Space adventure 2.fxp rename to resources/data/patches_factory/FX/Space Adventure 2.fxp diff --git a/resources/data/patches_factory/MPE/Lead with a Bell Attack.fxp b/resources/data/patches_factory/MPE/Lead With A Bell Attack.fxp similarity index 100% rename from resources/data/patches_factory/MPE/Lead with a Bell Attack.fxp rename to resources/data/patches_factory/MPE/Lead With A Bell Attack.fxp diff --git a/resources/data/patches_factory/MPE/Moving Day in the Caves.fxp b/resources/data/patches_factory/MPE/Moving Day In The Caves.fxp similarity index 100% rename from resources/data/patches_factory/MPE/Moving Day in the Caves.fxp rename to resources/data/patches_factory/MPE/Moving Day In The Caves.fxp diff --git a/resources/data/patches_factory/Monosynth/Bad childhood.fxp b/resources/data/patches_factory/Monosynth/Bad Childhood.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Bad childhood.fxp rename to resources/data/patches_factory/Monosynth/Bad Childhood.fxp diff --git a/resources/data/patches_factory/Monosynth/Banjo remains.fxp b/resources/data/patches_factory/Monosynth/Banjo Remains.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Banjo remains.fxp rename to resources/data/patches_factory/Monosynth/Banjo Remains.fxp diff --git a/resources/data/patches_factory/Monosynth/Classic lead 1.fxp b/resources/data/patches_factory/Monosynth/Classic Lead 1.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Classic lead 1.fxp rename to resources/data/patches_factory/Monosynth/Classic Lead 1.fxp diff --git a/resources/data/patches_factory/Monosynth/Classic lead 2.fxp b/resources/data/patches_factory/Monosynth/Classic Lead 2.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Classic lead 2.fxp rename to resources/data/patches_factory/Monosynth/Classic Lead 2.fxp diff --git a/resources/data/patches_factory/Monosynth/Digi it.fxp b/resources/data/patches_factory/Monosynth/Digi It.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Digi it.fxp rename to resources/data/patches_factory/Monosynth/Digi It.fxp diff --git a/resources/data/patches_factory/Monosynth/Digi portalead.fxp b/resources/data/patches_factory/Monosynth/Digi Portalead.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Digi portalead.fxp rename to resources/data/patches_factory/Monosynth/Digi Portalead.fxp diff --git a/resources/data/patches_factory/Monosynth/FM is growing on me.fxp b/resources/data/patches_factory/Monosynth/FM Is Growing On Me.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/FM is growing on me.fxp rename to resources/data/patches_factory/Monosynth/FM Is Growing On Me.fxp diff --git a/resources/data/patches_factory/Monosynth/fyllo dual.fxp b/resources/data/patches_factory/Monosynth/Fyllo Dual.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/fyllo dual.fxp rename to resources/data/patches_factory/Monosynth/Fyllo Dual.fxp diff --git a/resources/data/patches_factory/Monosynth/In the distance.fxp b/resources/data/patches_factory/Monosynth/In The Distance.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/In the distance.fxp rename to resources/data/patches_factory/Monosynth/In The Distance.fxp diff --git a/resources/data/patches_factory/Monosynth/Saw octaves.fxp b/resources/data/patches_factory/Monosynth/Saw Octaves.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Saw octaves.fxp rename to resources/data/patches_factory/Monosynth/Saw Octaves.fxp diff --git a/resources/data/patches_factory/Monosynth/Simpler times.fxp b/resources/data/patches_factory/Monosynth/Simpler Times.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Simpler times.fxp rename to resources/data/patches_factory/Monosynth/Simpler Times.fxp diff --git a/resources/data/patches_factory/Monosynth/Very chorus.fxp b/resources/data/patches_factory/Monosynth/Very Chorus.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Very chorus.fxp rename to resources/data/patches_factory/Monosynth/Very Chorus.fxp diff --git a/resources/data/patches_factory/Monosynth/Vocal lead.fxp b/resources/data/patches_factory/Monosynth/Vocal Lead.fxp similarity index 100% rename from resources/data/patches_factory/Monosynth/Vocal lead.fxp rename to resources/data/patches_factory/Monosynth/Vocal Lead.fxp diff --git a/resources/data/patches_factory/Pad/Alias pornography.fxp b/resources/data/patches_factory/Pad/Alias Pornography.fxp similarity index 100% rename from resources/data/patches_factory/Pad/Alias pornography.fxp rename to resources/data/patches_factory/Pad/Alias Pornography.fxp diff --git a/resources/data/patches_factory/Pad/Bell pad.fxp b/resources/data/patches_factory/Pad/Bell Pad.fxp similarity index 100% rename from resources/data/patches_factory/Pad/Bell pad.fxp rename to resources/data/patches_factory/Pad/Bell Pad.fxp diff --git a/resources/data/patches_factory/Pad/Computers in Space.fxp b/resources/data/patches_factory/Pad/Computers In Space.fxp similarity index 100% rename from resources/data/patches_factory/Pad/Computers in Space.fxp rename to resources/data/patches_factory/Pad/Computers In Space.fxp diff --git a/resources/data/patches_factory/Pad/Flux capacitor.fxp b/resources/data/patches_factory/Pad/Flux Capacitor.fxp similarity index 100% rename from resources/data/patches_factory/Pad/Flux capacitor.fxp rename to resources/data/patches_factory/Pad/Flux Capacitor.fxp diff --git a/resources/data/patches_factory/Pad/Ghost pad.fxp b/resources/data/patches_factory/Pad/Ghost Pad.fxp similarity index 100% rename from resources/data/patches_factory/Pad/Ghost pad.fxp rename to resources/data/patches_factory/Pad/Ghost Pad.fxp diff --git a/resources/data/patches_factory/Pad/Moody statement.fxp b/resources/data/patches_factory/Pad/Moody Statement.fxp similarity index 100% rename from resources/data/patches_factory/Pad/Moody statement.fxp rename to resources/data/patches_factory/Pad/Moody Statement.fxp diff --git a/resources/data/patches_factory/Pad/Newton was evil.fxp b/resources/data/patches_factory/Pad/Newton Was Evil.fxp similarity index 100% rename from resources/data/patches_factory/Pad/Newton was evil.fxp rename to resources/data/patches_factory/Pad/Newton Was Evil.fxp diff --git a/resources/data/patches_factory/Pad/Yeti funeral.fxp b/resources/data/patches_factory/Pad/Yeti Funeral.fxp similarity index 100% rename from resources/data/patches_factory/Pad/Yeti funeral.fxp rename to resources/data/patches_factory/Pad/Yeti Funeral.fxp diff --git a/resources/data/patches_factory/Percussion/Kick tech 1.fxp b/resources/data/patches_factory/Percussion/Kick Tech 1.fxp similarity index 100% rename from resources/data/patches_factory/Percussion/Kick tech 1.fxp rename to resources/data/patches_factory/Percussion/Kick Tech 1.fxp diff --git a/resources/data/patches_factory/Percussion/Kick tech 2.fxp b/resources/data/patches_factory/Percussion/Kick Tech 2.fxp similarity index 100% rename from resources/data/patches_factory/Percussion/Kick tech 2.fxp rename to resources/data/patches_factory/Percussion/Kick Tech 2.fxp diff --git a/resources/data/patches_factory/Pluck/Good childhood.fxp b/resources/data/patches_factory/Pluck/Good Childhood.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Good childhood.fxp rename to resources/data/patches_factory/Pluck/Good Childhood.fxp diff --git a/resources/data/patches_factory/Pluck/Nice pluck 1.fxp b/resources/data/patches_factory/Pluck/Nice Pluck 1.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Nice pluck 1.fxp rename to resources/data/patches_factory/Pluck/Nice Pluck 1.fxp diff --git a/resources/data/patches_factory/Pluck/Nice pluck 2.fxp b/resources/data/patches_factory/Pluck/Nice Pluck 2.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Nice pluck 2.fxp rename to resources/data/patches_factory/Pluck/Nice Pluck 2.fxp diff --git a/resources/data/patches_factory/Pluck/Nice pluck 3.fxp b/resources/data/patches_factory/Pluck/Nice Pluck 3.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Nice pluck 3.fxp rename to resources/data/patches_factory/Pluck/Nice Pluck 3.fxp diff --git a/resources/data/patches_factory/Pluck/Nice pluck 4.fxp b/resources/data/patches_factory/Pluck/Nice Pluck 4.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Nice pluck 4.fxp rename to resources/data/patches_factory/Pluck/Nice Pluck 4.fxp diff --git a/resources/data/patches_factory/Pluck/Nice pluck 5.fxp b/resources/data/patches_factory/Pluck/Nice Pluck 5.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Nice pluck 5.fxp rename to resources/data/patches_factory/Pluck/Nice Pluck 5.fxp diff --git a/resources/data/patches_factory/Pluck/Piano remains 1.fxp b/resources/data/patches_factory/Pluck/Piano Remains 1.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Piano remains 1.fxp rename to resources/data/patches_factory/Pluck/Piano Remains 1.fxp diff --git a/resources/data/patches_factory/Pluck/Piano remains 2.fxp b/resources/data/patches_factory/Pluck/Piano Remains 2.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Piano remains 2.fxp rename to resources/data/patches_factory/Pluck/Piano Remains 2.fxp diff --git a/resources/data/patches_factory/Pluck/Pure square.fxp b/resources/data/patches_factory/Pluck/Pure Square.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Pure square.fxp rename to resources/data/patches_factory/Pluck/Pure Square.fxp diff --git a/resources/data/patches_factory/Pluck/Saw pluck.fxp b/resources/data/patches_factory/Pluck/Saw Pluck.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Saw pluck.fxp rename to resources/data/patches_factory/Pluck/Saw Pluck.fxp diff --git a/resources/data/patches_factory/Pluck/Sync pluck.fxp b/resources/data/patches_factory/Pluck/Sync Pluck.fxp similarity index 100% rename from resources/data/patches_factory/Pluck/Sync pluck.fxp rename to resources/data/patches_factory/Pluck/Sync Pluck.fxp diff --git a/resources/data/patches_factory/Polysynth/Crisp noise brass.fxp b/resources/data/patches_factory/Polysynth/Crisp Noise Brass.fxp similarity index 100% rename from resources/data/patches_factory/Polysynth/Crisp noise brass.fxp rename to resources/data/patches_factory/Polysynth/Crisp Noise Brass.fxp diff --git a/resources/data/patches_factory/Polysynth/Fun with Feedback.fxp b/resources/data/patches_factory/Polysynth/Fun With Feedback.fxp similarity index 100% rename from resources/data/patches_factory/Polysynth/Fun with Feedback.fxp rename to resources/data/patches_factory/Polysynth/Fun With Feedback.fxp diff --git a/resources/data/patches_factory/Polysynth/PWM avenger.fxp b/resources/data/patches_factory/Polysynth/PWM Avenger.fxp similarity index 100% rename from resources/data/patches_factory/Polysynth/PWM avenger.fxp rename to resources/data/patches_factory/Polysynth/PWM Avenger.fxp diff --git a/resources/data/patches_factory/Polysynth/Sizzling sweep.fxp b/resources/data/patches_factory/Polysynth/Sizzling Sweep.fxp similarity index 100% rename from resources/data/patches_factory/Polysynth/Sizzling sweep.fxp rename to resources/data/patches_factory/Polysynth/Sizzling Sweep.fxp diff --git a/resources/data/patches_factory/Polysynth/Smooth stabs.fxp b/resources/data/patches_factory/Polysynth/Smooth Stabs.fxp similarity index 100% rename from resources/data/patches_factory/Polysynth/Smooth stabs.fxp rename to resources/data/patches_factory/Polysynth/Smooth Stabs.fxp diff --git a/resources/data/patches_factory/Sequence/Damn aliens.fxp b/resources/data/patches_factory/Sequence/Damn Aliens.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/Damn aliens.fxp rename to resources/data/patches_factory/Sequence/Damn Aliens.fxp diff --git a/resources/data/patches_factory/Sequence/Filter buildup.fxp b/resources/data/patches_factory/Sequence/Filter Buildup.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/Filter buildup.fxp rename to resources/data/patches_factory/Sequence/Filter Buildup.fxp diff --git a/resources/data/patches_factory/Sequence/Game on 1.fxp b/resources/data/patches_factory/Sequence/Game On 1.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/Game on 1.fxp rename to resources/data/patches_factory/Sequence/Game On 1.fxp diff --git a/resources/data/patches_factory/Sequence/Game on 2.fxp b/resources/data/patches_factory/Sequence/Game On 2.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/Game on 2.fxp rename to resources/data/patches_factory/Sequence/Game On 2.fxp diff --git a/resources/data/patches_factory/Sequence/Game on 3.fxp b/resources/data/patches_factory/Sequence/Game On 3.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/Game on 3.fxp rename to resources/data/patches_factory/Sequence/Game On 3.fxp diff --git a/resources/data/patches_factory/Sequence/Game on 4 MW split.fxp b/resources/data/patches_factory/Sequence/Game On 4 MW Split.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/Game on 4 MW split.fxp rename to resources/data/patches_factory/Sequence/Game On 4 MW Split.fxp diff --git a/resources/data/patches_factory/Sequence/Hovercar championship.fxp b/resources/data/patches_factory/Sequence/Hovercar Championship.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/Hovercar championship.fxp rename to resources/data/patches_factory/Sequence/Hovercar Championship.fxp diff --git a/resources/data/patches_factory/Sequence/I want to get well.fxp b/resources/data/patches_factory/Sequence/I Want To Get Well.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/I want to get well.fxp rename to resources/data/patches_factory/Sequence/I Want To Get Well.fxp diff --git a/resources/data/patches_factory/Sequence/Split personality.fxp b/resources/data/patches_factory/Sequence/Split Personality.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/Split personality.fxp rename to resources/data/patches_factory/Sequence/Split Personality.fxp diff --git a/resources/data/patches_factory/Sequence/When good combs go bad.fxp b/resources/data/patches_factory/Sequence/When Good Combs Go Bad.fxp similarity index 100% rename from resources/data/patches_factory/Sequence/When good combs go bad.fxp rename to resources/data/patches_factory/Sequence/When Good Combs Go Bad.fxp diff --git a/resources/data/patches_factory/Wind/Fake ethno.fxp b/resources/data/patches_factory/Wind/Fake Ethno.fxp similarity index 100% rename from resources/data/patches_factory/Wind/Fake ethno.fxp rename to resources/data/patches_factory/Wind/Fake Ethno.fxp diff --git a/resources/data/patches_factory/Wind/Tragic winds.fxp b/resources/data/patches_factory/Wind/Tragic Winds.fxp similarity index 100% rename from resources/data/patches_factory/Wind/Tragic winds.fxp rename to resources/data/patches_factory/Wind/Tragic Winds.fxp diff --git a/scripts/patch-tool/casecheck.py b/scripts/patch-tool/casecheck.py new file mode 100644 index 00000000000..5651f0ed762 --- /dev/null +++ b/scripts/patch-tool/casecheck.py @@ -0,0 +1,36 @@ +# Checks the case of patches and corrects if needs be +# https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git +# matters a lot too Basically run this on linux if you know what you are doing + +import os + +fixes = {} +for dirpath, dirnames, files in os.walk("resources/data"): + for name in files: + dirpath = dirpath.replace("/Users/paul/music/dev/surge-clean/", "") + if name.lower().endswith(".fxp") and not (name == "µcomputer.fxp"): + fxp = os.path.join(dirpath, name) + sname = name.split(" ") + needfix = False + for n in sname: + + start = n[0] + if n[0].islower() and not ((n == "and") or (n == "de") or (n == "du")): + needfix = True + + if needfix: + newname = "" + prefix = "" + for n in sname: + if(n[0].islower()): + n = n[0].upper() + n[1:] + newname = newname + prefix + n + prefix = " " + + fixes[fxp] = os.path.join(dirpath, newname) + # print(name, "->", newname) + +for k, v in fixes.items(): + cmd = "git mv --force \"{0}\" \"{1}\"".format(k, v) + print(cmd) + os.system(cmd)