From 764fa2b5af5748f8469e63894f8d93293e094209 Mon Sep 17 00:00:00 2001 From: tux-box Date: Sun, 7 Jan 2024 15:43:06 -0600 Subject: [PATCH 1/4] Changed case, changed PW for parse I changed the case of the files in MP for linux dedicated servers and changed the reference to altis in server-example.cfg. Added a bash script to tools to make files lower case. Made changes to references to passwords to make them easer to replace with tools like sed and made each reference unique but consistent. --- .../@epochhive/EpochServer.ini | 4 +-- ...ner.pbo => epoch_server_ryana_spawner.pbo} | Bin Server_Install_Pack/DB/redis-example.conf | 2 +- Server_Install_Pack/DB/redis.conf | 2 +- Server_Install_Pack/Tools/makeLowerCase.bash | 27 ++++++++++++++++++ .../sc/battleye/example-beserver.cfg | 2 +- .../sc/battleye/example-beserver_x64.cfg | 2 +- Server_Install_Pack/sc/server-example.cfg | 8 +++--- 8 files changed, 37 insertions(+), 10 deletions(-) rename Server_Install_Pack/@epochhive/addons/{Epoch_server_RyanZ_Spawner.pbo => epoch_server_ryana_spawner.pbo} (100%) create mode 100644 Server_Install_Pack/Tools/makeLowerCase.bash diff --git a/Server_Install_Pack/@epochhive/EpochServer.ini b/Server_Install_Pack/@epochhive/EpochServer.ini index c9150191b..91b53a84f 100644 --- a/Server_Install_Pack/@epochhive/EpochServer.ini +++ b/Server_Install_Pack/@epochhive/EpochServer.ini @@ -5,13 +5,13 @@ LogAbuse = 1 LogLimit = 999 IP = 127.0.0.1 Port = 2307 -Password = changemen0w +Password = changeThisRConPasswd [Redis] IP = 127.0.0.1 Port = 6379 DB = 0 -Password = Changeme9832 +Password = changeThisRedisPasswd [SteamAPI] Logging = 0 diff --git a/Server_Install_Pack/@epochhive/addons/Epoch_server_RyanZ_Spawner.pbo b/Server_Install_Pack/@epochhive/addons/epoch_server_ryana_spawner.pbo similarity index 100% rename from Server_Install_Pack/@epochhive/addons/Epoch_server_RyanZ_Spawner.pbo rename to Server_Install_Pack/@epochhive/addons/epoch_server_ryana_spawner.pbo diff --git a/Server_Install_Pack/DB/redis-example.conf b/Server_Install_Pack/DB/redis-example.conf index fd2eb73d4..14d7c4fbc 100644 --- a/Server_Install_Pack/DB/redis-example.conf +++ b/Server_Install_Pack/DB/redis-example.conf @@ -383,7 +383,7 @@ slave-priority 100 # 150k passwords per second against a good box. This means that you should # use a very strong password otherwise it will be very easy to break. # -requirepass Changeme9832 +requirepass changeThisRedisPasswd # Command renaming. # diff --git a/Server_Install_Pack/DB/redis.conf b/Server_Install_Pack/DB/redis.conf index cd10864e4..b0ca02fc7 100644 --- a/Server_Install_Pack/DB/redis.conf +++ b/Server_Install_Pack/DB/redis.conf @@ -4,4 +4,4 @@ maxmemory 1gb save 900 1 save 300 10 save 60 1000 -requirepass Changeme9832 \ No newline at end of file +requirepass changeThisRedisPasswd \ No newline at end of file diff --git a/Server_Install_Pack/Tools/makeLowerCase.bash b/Server_Install_Pack/Tools/makeLowerCase.bash new file mode 100644 index 000000000..0b6a27f15 --- /dev/null +++ b/Server_Install_Pack/Tools/makeLowerCase.bash @@ -0,0 +1,27 @@ +#!/bin/bash +#print usage +if [ -z $1 ];then + echo "Usage :$(basename $0) makes all files in the passed directory lowercase, one level deep. Prints new file names to screen." + exit 1 +fi + +#process all subdirectories and files in directory passed to this script +all="$(find $1 -depth)" + +for name in ${all}; do + #set new name in lower case for files and directories + new_name="$(dirname "${name}")/$(basename "${name}" | tr '[A-Z]' '[a-z]')" + + #check if new name already exists + if [ "${name}" != "${new_name}" ]; then + [ ! -e "${new_name}" ] && mv -T "${name}" "${new_name}"; echo "${name} was renamed to ${new_name}" || echo "${name} wasn't renamed!" + fi +done + +echo +echo +#list directories and file new names in lowercase +echo "Directories and files with new names in lowercase letters" +find $(echo $1 | tr 'A-Z' 'a-z') -depth + +exit 0 \ No newline at end of file diff --git a/Server_Install_Pack/sc/battleye/example-beserver.cfg b/Server_Install_Pack/sc/battleye/example-beserver.cfg index 18441ab6c..e52e0bee1 100644 --- a/Server_Install_Pack/sc/battleye/example-beserver.cfg +++ b/Server_Install_Pack/sc/battleye/example-beserver.cfg @@ -1,5 +1,5 @@ RConPort 2307 -RConPassword changemen0w +RConPassword changeThisRConPasswd MaxPing 350 MaxCreateVehiclePerInterval 72 1 diff --git a/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg b/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg index 18441ab6c..e52e0bee1 100644 --- a/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg +++ b/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg @@ -1,5 +1,5 @@ RConPort 2307 -RConPassword changemen0w +RConPassword changeThisRConPasswd MaxPing 350 MaxCreateVehiclePerInterval 72 1 diff --git a/Server_Install_Pack/sc/server-example.cfg b/Server_Install_Pack/sc/server-example.cfg index 6c9bfd942..f649e42a2 100644 --- a/Server_Install_Pack/sc/server-example.cfg +++ b/Server_Install_Pack/sc/server-example.cfg @@ -3,8 +3,8 @@ // GLOBAL SETTINGS hostname = "EpochMod.com (0.5|1.68) ID02 YourHost"; password = ""; -passwordAdmin = "!CHANGE_THIS_PASSWORD!"; -serverCommandPassword = "!CHANGE_THIS_PASSWORD!"; +passwordAdmin = "!CHANGE_THE_ADMIN_PASSWORD!"; +serverCommandPassword = "!CHANGE_THE_COMMAND_PASSWORD!"; logFile = "A3Master.log"; verifySignatures = 2; BattlEye = 1; @@ -43,11 +43,11 @@ vonCodecQuality = 30; // Quality from 1 to 30 forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM. persistent = 1; // If 1, missions still run on even after the last player disconnected. -// MISSIONS CYCLE (see below) (epoch.Altis, epoch.Stratis, epoch.Chernarus, epoch.Bornholm) +// MISSIONS CYCLE (see below) (epoch.altis, epoch.stratis, epoch.chernarus, epoch.bornholm) class Missions { class Epoch { - template = epoch.Altis; // DO NOT CHANGE THIS, IT WILL BREAK YOUR SERVER + template = epoch.altis; // DO NOT CHANGE THIS, IT WILL BREAK YOUR SERVER difficulty = "custom"; // difficulty settings: Recruit, Regular Veteran, Custom }; }; From fd64bc9a9de05f83b76677d4a1201594a1624184 Mon Sep 17 00:00:00 2001 From: tux-box Date: Sun, 7 Jan 2024 16:02:55 -0600 Subject: [PATCH 2/4] using some trickery to change case I'll reupload without the u- --- .../{epoch._ChangeMe.pbo => u-epoch._changeme.pbo} | Bin .../{epoch.abramia.pbo => u-epoch.abramia.pbo} | Bin .../{epoch.Altis.pbo => u-epoch.altis.pbo} | Bin .../{epoch.Australia.pbo => u-epoch.australia.pbo} | Bin ...ch.Bootcamp_ACR.pbo => u-epoch.bootcamp_acr.pbo} | Bin .../{epoch.Bornholm.pbo => u-epoch.bornholm.pbo} | Bin .../{epoch.Chernarus.pbo => u-epoch.chernarus.pbo} | Bin ...arus_Summer.pbo => u-epoch.chernarus_summer.pbo} | Bin ...hernarusRedux.pbo => u-epoch.chernarusredux.pbo} | Bin .../{epoch.Desert_E.pbo => u-epoch.desert_e.pbo} | Bin .../{epoch.dingor.pbo => u-epoch.dingor.pbo} | Bin .../{epoch.Enoch.pbo => u-epoch.enoch.pbo} | Bin .../{epoch.Esseker.pbo => u-epoch.esseker.pbo} | Bin ...{epoch.IslaDuala3.pbo => u-epoch.isladuala3.pbo} | Bin .../{epoch.Kapaulio.pbo => u-epoch.kapaulio.pbo} | Bin .../{epoch.lingor3.pbo => u-epoch.lingor3.pbo} | Bin .../{epoch.Malden.pbo => u-epoch.malden.pbo} | Bin ....Mountains_ACR.pbo => u-epoch.mountains_acr.pbo} | Bin .../mpmissions/{epoch.Napf.pbo => u-epoch.napf.pbo} | Bin .../{epoch.Panthera3.pbo => u-epoch.panthera3.pbo} | Bin .../{epoch.Porto.pbo => u-epoch.porto.pbo} | Bin ...ounds_PMC.pbo => u-epoch.provinggrounds_pmc.pbo} | Bin .../mpmissions/{epoch.Sara.pbo => u-epoch.sara.pbo} | Bin .../{epoch.Sara_dbe1.pbo => u-epoch.sara_dbe1.pbo} | Bin .../{epoch.SaraLite.pbo => u-epoch.saralite.pbo} | Bin ...{epoch.Shapur_BAF.pbo => u-epoch.shapur_baf.pbo} | Bin .../{epoch.Stratis.pbo => u-epoch.stratis.pbo} | Bin .../{epoch.Takistan.pbo => u-epoch.takistan.pbo} | Bin .../{epoch.Tanoa.pbo => u-epoch.tanoa.pbo} | Bin .../mpmissions/{epoch.utes.pbo => u-epoch.utes.pbo} | Bin .../mpmissions/{epoch.VR.pbo => u-epoch.vr.pbo} | Bin .../{epoch.Winthera3.pbo => u-epoch.winthera3.pbo} | Bin ...ch.Woodland_ACR.pbo => u-epoch.woodland_acr.pbo} | Bin .../{epoch.Zargabad.pbo => u-epoch.zargabad.pbo} | Bin ..._RyanZed.Tanoa.pbo => u-epoch_ryanzed.tanoa.pbo} | Bin 35 files changed, 0 insertions(+), 0 deletions(-) rename Server_Install_Pack/mpmissions/{epoch._ChangeMe.pbo => u-epoch._changeme.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.abramia.pbo => u-epoch.abramia.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Altis.pbo => u-epoch.altis.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Australia.pbo => u-epoch.australia.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Bootcamp_ACR.pbo => u-epoch.bootcamp_acr.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Bornholm.pbo => u-epoch.bornholm.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Chernarus.pbo => u-epoch.chernarus.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Chernarus_Summer.pbo => u-epoch.chernarus_summer.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.ChernarusRedux.pbo => u-epoch.chernarusredux.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Desert_E.pbo => u-epoch.desert_e.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.dingor.pbo => u-epoch.dingor.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Enoch.pbo => u-epoch.enoch.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Esseker.pbo => u-epoch.esseker.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.IslaDuala3.pbo => u-epoch.isladuala3.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Kapaulio.pbo => u-epoch.kapaulio.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.lingor3.pbo => u-epoch.lingor3.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Malden.pbo => u-epoch.malden.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Mountains_ACR.pbo => u-epoch.mountains_acr.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Napf.pbo => u-epoch.napf.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Panthera3.pbo => u-epoch.panthera3.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Porto.pbo => u-epoch.porto.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.ProvingGrounds_PMC.pbo => u-epoch.provinggrounds_pmc.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Sara.pbo => u-epoch.sara.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Sara_dbe1.pbo => u-epoch.sara_dbe1.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.SaraLite.pbo => u-epoch.saralite.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Shapur_BAF.pbo => u-epoch.shapur_baf.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Stratis.pbo => u-epoch.stratis.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Takistan.pbo => u-epoch.takistan.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Tanoa.pbo => u-epoch.tanoa.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.utes.pbo => u-epoch.utes.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.VR.pbo => u-epoch.vr.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Winthera3.pbo => u-epoch.winthera3.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Woodland_ACR.pbo => u-epoch.woodland_acr.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch.Zargabad.pbo => u-epoch.zargabad.pbo} (100%) rename Server_Install_Pack/mpmissions/{epoch_RyanZed.Tanoa.pbo => u-epoch_ryanzed.tanoa.pbo} (100%) diff --git a/Server_Install_Pack/mpmissions/epoch._ChangeMe.pbo b/Server_Install_Pack/mpmissions/u-epoch._changeme.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch._ChangeMe.pbo rename to Server_Install_Pack/mpmissions/u-epoch._changeme.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.abramia.pbo b/Server_Install_Pack/mpmissions/u-epoch.abramia.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.abramia.pbo rename to Server_Install_Pack/mpmissions/u-epoch.abramia.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Altis.pbo b/Server_Install_Pack/mpmissions/u-epoch.altis.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Altis.pbo rename to Server_Install_Pack/mpmissions/u-epoch.altis.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Australia.pbo b/Server_Install_Pack/mpmissions/u-epoch.australia.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Australia.pbo rename to Server_Install_Pack/mpmissions/u-epoch.australia.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Bootcamp_ACR.pbo b/Server_Install_Pack/mpmissions/u-epoch.bootcamp_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Bootcamp_ACR.pbo rename to Server_Install_Pack/mpmissions/u-epoch.bootcamp_acr.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Bornholm.pbo b/Server_Install_Pack/mpmissions/u-epoch.bornholm.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Bornholm.pbo rename to Server_Install_Pack/mpmissions/u-epoch.bornholm.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Chernarus.pbo b/Server_Install_Pack/mpmissions/u-epoch.chernarus.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Chernarus.pbo rename to Server_Install_Pack/mpmissions/u-epoch.chernarus.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Chernarus_Summer.pbo b/Server_Install_Pack/mpmissions/u-epoch.chernarus_summer.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Chernarus_Summer.pbo rename to Server_Install_Pack/mpmissions/u-epoch.chernarus_summer.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.ChernarusRedux.pbo b/Server_Install_Pack/mpmissions/u-epoch.chernarusredux.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.ChernarusRedux.pbo rename to Server_Install_Pack/mpmissions/u-epoch.chernarusredux.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Desert_E.pbo b/Server_Install_Pack/mpmissions/u-epoch.desert_e.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Desert_E.pbo rename to Server_Install_Pack/mpmissions/u-epoch.desert_e.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.dingor.pbo b/Server_Install_Pack/mpmissions/u-epoch.dingor.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.dingor.pbo rename to Server_Install_Pack/mpmissions/u-epoch.dingor.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Enoch.pbo b/Server_Install_Pack/mpmissions/u-epoch.enoch.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Enoch.pbo rename to Server_Install_Pack/mpmissions/u-epoch.enoch.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Esseker.pbo b/Server_Install_Pack/mpmissions/u-epoch.esseker.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Esseker.pbo rename to Server_Install_Pack/mpmissions/u-epoch.esseker.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.IslaDuala3.pbo b/Server_Install_Pack/mpmissions/u-epoch.isladuala3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.IslaDuala3.pbo rename to Server_Install_Pack/mpmissions/u-epoch.isladuala3.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Kapaulio.pbo b/Server_Install_Pack/mpmissions/u-epoch.kapaulio.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Kapaulio.pbo rename to Server_Install_Pack/mpmissions/u-epoch.kapaulio.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.lingor3.pbo b/Server_Install_Pack/mpmissions/u-epoch.lingor3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.lingor3.pbo rename to Server_Install_Pack/mpmissions/u-epoch.lingor3.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Malden.pbo b/Server_Install_Pack/mpmissions/u-epoch.malden.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Malden.pbo rename to Server_Install_Pack/mpmissions/u-epoch.malden.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Mountains_ACR.pbo b/Server_Install_Pack/mpmissions/u-epoch.mountains_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Mountains_ACR.pbo rename to Server_Install_Pack/mpmissions/u-epoch.mountains_acr.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Napf.pbo b/Server_Install_Pack/mpmissions/u-epoch.napf.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Napf.pbo rename to Server_Install_Pack/mpmissions/u-epoch.napf.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Panthera3.pbo b/Server_Install_Pack/mpmissions/u-epoch.panthera3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Panthera3.pbo rename to Server_Install_Pack/mpmissions/u-epoch.panthera3.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Porto.pbo b/Server_Install_Pack/mpmissions/u-epoch.porto.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Porto.pbo rename to Server_Install_Pack/mpmissions/u-epoch.porto.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.ProvingGrounds_PMC.pbo b/Server_Install_Pack/mpmissions/u-epoch.provinggrounds_pmc.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.ProvingGrounds_PMC.pbo rename to Server_Install_Pack/mpmissions/u-epoch.provinggrounds_pmc.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Sara.pbo b/Server_Install_Pack/mpmissions/u-epoch.sara.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Sara.pbo rename to Server_Install_Pack/mpmissions/u-epoch.sara.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Sara_dbe1.pbo b/Server_Install_Pack/mpmissions/u-epoch.sara_dbe1.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Sara_dbe1.pbo rename to Server_Install_Pack/mpmissions/u-epoch.sara_dbe1.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.SaraLite.pbo b/Server_Install_Pack/mpmissions/u-epoch.saralite.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.SaraLite.pbo rename to Server_Install_Pack/mpmissions/u-epoch.saralite.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Shapur_BAF.pbo b/Server_Install_Pack/mpmissions/u-epoch.shapur_baf.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Shapur_BAF.pbo rename to Server_Install_Pack/mpmissions/u-epoch.shapur_baf.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Stratis.pbo b/Server_Install_Pack/mpmissions/u-epoch.stratis.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Stratis.pbo rename to Server_Install_Pack/mpmissions/u-epoch.stratis.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Takistan.pbo b/Server_Install_Pack/mpmissions/u-epoch.takistan.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Takistan.pbo rename to Server_Install_Pack/mpmissions/u-epoch.takistan.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Tanoa.pbo b/Server_Install_Pack/mpmissions/u-epoch.tanoa.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Tanoa.pbo rename to Server_Install_Pack/mpmissions/u-epoch.tanoa.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.utes.pbo b/Server_Install_Pack/mpmissions/u-epoch.utes.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.utes.pbo rename to Server_Install_Pack/mpmissions/u-epoch.utes.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.VR.pbo b/Server_Install_Pack/mpmissions/u-epoch.vr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.VR.pbo rename to Server_Install_Pack/mpmissions/u-epoch.vr.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Winthera3.pbo b/Server_Install_Pack/mpmissions/u-epoch.winthera3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Winthera3.pbo rename to Server_Install_Pack/mpmissions/u-epoch.winthera3.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Woodland_ACR.pbo b/Server_Install_Pack/mpmissions/u-epoch.woodland_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Woodland_ACR.pbo rename to Server_Install_Pack/mpmissions/u-epoch.woodland_acr.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Zargabad.pbo b/Server_Install_Pack/mpmissions/u-epoch.zargabad.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Zargabad.pbo rename to Server_Install_Pack/mpmissions/u-epoch.zargabad.pbo diff --git a/Server_Install_Pack/mpmissions/epoch_RyanZed.Tanoa.pbo b/Server_Install_Pack/mpmissions/u-epoch_ryanzed.tanoa.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch_RyanZed.Tanoa.pbo rename to Server_Install_Pack/mpmissions/u-epoch_ryanzed.tanoa.pbo From aec4dff3eab6deaffb0a1df9a0a5af981fbdfb5d Mon Sep 17 00:00:00 2001 From: tux-box Date: Sun, 7 Jan 2024 16:04:08 -0600 Subject: [PATCH 3/4] all cases changed to lower and u- removed. don't know why git didn't see the original case change. --- .../{u-epoch._changeme.pbo => epoch._changeme.pbo} | Bin .../{u-epoch.abramia.pbo => epoch.abramia.pbo} | Bin .../{u-epoch.altis.pbo => epoch.altis.pbo} | Bin .../{u-epoch.australia.pbo => epoch.australia.pbo} | Bin ...poch.bootcamp_acr.pbo => epoch.bootcamp_acr.pbo} | Bin .../{u-epoch.bornholm.pbo => epoch.bornholm.pbo} | Bin .../{u-epoch.chernarus.pbo => epoch.chernarus.pbo} | Bin ...rnarus_summer.pbo => epoch.chernarus_summer.pbo} | Bin ....chernarusredux.pbo => epoch.chernarusredux.pbo} | Bin .../{u-epoch.desert_e.pbo => epoch.desert_e.pbo} | Bin .../{u-epoch.dingor.pbo => epoch.dingor.pbo} | Bin .../{u-epoch.enoch.pbo => epoch.enoch.pbo} | Bin .../{u-epoch.esseker.pbo => epoch.esseker.pbo} | Bin ...{u-epoch.isladuala3.pbo => epoch.isladuala3.pbo} | Bin .../{u-epoch.kapaulio.pbo => epoch.kapaulio.pbo} | Bin .../{u-epoch.lingor3.pbo => epoch.lingor3.pbo} | Bin .../{u-epoch.malden.pbo => epoch.malden.pbo} | Bin ...ch.mountains_acr.pbo => epoch.mountains_acr.pbo} | Bin .../mpmissions/{u-epoch.napf.pbo => epoch.napf.pbo} | Bin .../{u-epoch.panthera3.pbo => epoch.panthera3.pbo} | Bin .../{u-epoch.porto.pbo => epoch.porto.pbo} | Bin ...grounds_pmc.pbo => epoch.provinggrounds_pmc.pbo} | Bin .../mpmissions/{u-epoch.sara.pbo => epoch.sara.pbo} | Bin .../{u-epoch.sara_dbe1.pbo => epoch.sara_dbe1.pbo} | Bin .../{u-epoch.saralite.pbo => epoch.saralite.pbo} | Bin ...{u-epoch.shapur_baf.pbo => epoch.shapur_baf.pbo} | Bin .../{u-epoch.stratis.pbo => epoch.stratis.pbo} | Bin .../{u-epoch.takistan.pbo => epoch.takistan.pbo} | Bin .../{u-epoch.tanoa.pbo => epoch.tanoa.pbo} | Bin .../mpmissions/{u-epoch.utes.pbo => epoch.utes.pbo} | Bin .../mpmissions/{u-epoch.vr.pbo => epoch.vr.pbo} | Bin .../{u-epoch.winthera3.pbo => epoch.winthera3.pbo} | Bin ...poch.woodland_acr.pbo => epoch.woodland_acr.pbo} | Bin .../{u-epoch.zargabad.pbo => epoch.zargabad.pbo} | Bin ...ch_ryanzed.tanoa.pbo => epoch_ryanzed.tanoa.pbo} | Bin 35 files changed, 0 insertions(+), 0 deletions(-) rename Server_Install_Pack/mpmissions/{u-epoch._changeme.pbo => epoch._changeme.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.abramia.pbo => epoch.abramia.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.altis.pbo => epoch.altis.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.australia.pbo => epoch.australia.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.bootcamp_acr.pbo => epoch.bootcamp_acr.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.bornholm.pbo => epoch.bornholm.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.chernarus.pbo => epoch.chernarus.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.chernarus_summer.pbo => epoch.chernarus_summer.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.chernarusredux.pbo => epoch.chernarusredux.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.desert_e.pbo => epoch.desert_e.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.dingor.pbo => epoch.dingor.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.enoch.pbo => epoch.enoch.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.esseker.pbo => epoch.esseker.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.isladuala3.pbo => epoch.isladuala3.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.kapaulio.pbo => epoch.kapaulio.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.lingor3.pbo => epoch.lingor3.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.malden.pbo => epoch.malden.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.mountains_acr.pbo => epoch.mountains_acr.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.napf.pbo => epoch.napf.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.panthera3.pbo => epoch.panthera3.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.porto.pbo => epoch.porto.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.provinggrounds_pmc.pbo => epoch.provinggrounds_pmc.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.sara.pbo => epoch.sara.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.sara_dbe1.pbo => epoch.sara_dbe1.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.saralite.pbo => epoch.saralite.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.shapur_baf.pbo => epoch.shapur_baf.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.stratis.pbo => epoch.stratis.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.takistan.pbo => epoch.takistan.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.tanoa.pbo => epoch.tanoa.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.utes.pbo => epoch.utes.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.vr.pbo => epoch.vr.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.winthera3.pbo => epoch.winthera3.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.woodland_acr.pbo => epoch.woodland_acr.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch.zargabad.pbo => epoch.zargabad.pbo} (100%) rename Server_Install_Pack/mpmissions/{u-epoch_ryanzed.tanoa.pbo => epoch_ryanzed.tanoa.pbo} (100%) diff --git a/Server_Install_Pack/mpmissions/u-epoch._changeme.pbo b/Server_Install_Pack/mpmissions/epoch._changeme.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch._changeme.pbo rename to Server_Install_Pack/mpmissions/epoch._changeme.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.abramia.pbo b/Server_Install_Pack/mpmissions/epoch.abramia.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.abramia.pbo rename to Server_Install_Pack/mpmissions/epoch.abramia.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.altis.pbo b/Server_Install_Pack/mpmissions/epoch.altis.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.altis.pbo rename to Server_Install_Pack/mpmissions/epoch.altis.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.australia.pbo b/Server_Install_Pack/mpmissions/epoch.australia.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.australia.pbo rename to Server_Install_Pack/mpmissions/epoch.australia.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.bootcamp_acr.pbo b/Server_Install_Pack/mpmissions/epoch.bootcamp_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.bootcamp_acr.pbo rename to Server_Install_Pack/mpmissions/epoch.bootcamp_acr.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.bornholm.pbo b/Server_Install_Pack/mpmissions/epoch.bornholm.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.bornholm.pbo rename to Server_Install_Pack/mpmissions/epoch.bornholm.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.chernarus.pbo b/Server_Install_Pack/mpmissions/epoch.chernarus.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.chernarus.pbo rename to Server_Install_Pack/mpmissions/epoch.chernarus.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.chernarus_summer.pbo b/Server_Install_Pack/mpmissions/epoch.chernarus_summer.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.chernarus_summer.pbo rename to Server_Install_Pack/mpmissions/epoch.chernarus_summer.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.chernarusredux.pbo b/Server_Install_Pack/mpmissions/epoch.chernarusredux.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.chernarusredux.pbo rename to Server_Install_Pack/mpmissions/epoch.chernarusredux.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.desert_e.pbo b/Server_Install_Pack/mpmissions/epoch.desert_e.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.desert_e.pbo rename to Server_Install_Pack/mpmissions/epoch.desert_e.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.dingor.pbo b/Server_Install_Pack/mpmissions/epoch.dingor.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.dingor.pbo rename to Server_Install_Pack/mpmissions/epoch.dingor.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.enoch.pbo b/Server_Install_Pack/mpmissions/epoch.enoch.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.enoch.pbo rename to Server_Install_Pack/mpmissions/epoch.enoch.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.esseker.pbo b/Server_Install_Pack/mpmissions/epoch.esseker.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.esseker.pbo rename to Server_Install_Pack/mpmissions/epoch.esseker.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.isladuala3.pbo b/Server_Install_Pack/mpmissions/epoch.isladuala3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.isladuala3.pbo rename to Server_Install_Pack/mpmissions/epoch.isladuala3.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.kapaulio.pbo b/Server_Install_Pack/mpmissions/epoch.kapaulio.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.kapaulio.pbo rename to Server_Install_Pack/mpmissions/epoch.kapaulio.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.lingor3.pbo b/Server_Install_Pack/mpmissions/epoch.lingor3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.lingor3.pbo rename to Server_Install_Pack/mpmissions/epoch.lingor3.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.malden.pbo b/Server_Install_Pack/mpmissions/epoch.malden.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.malden.pbo rename to Server_Install_Pack/mpmissions/epoch.malden.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.mountains_acr.pbo b/Server_Install_Pack/mpmissions/epoch.mountains_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.mountains_acr.pbo rename to Server_Install_Pack/mpmissions/epoch.mountains_acr.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.napf.pbo b/Server_Install_Pack/mpmissions/epoch.napf.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.napf.pbo rename to Server_Install_Pack/mpmissions/epoch.napf.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.panthera3.pbo b/Server_Install_Pack/mpmissions/epoch.panthera3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.panthera3.pbo rename to Server_Install_Pack/mpmissions/epoch.panthera3.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.porto.pbo b/Server_Install_Pack/mpmissions/epoch.porto.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.porto.pbo rename to Server_Install_Pack/mpmissions/epoch.porto.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.provinggrounds_pmc.pbo b/Server_Install_Pack/mpmissions/epoch.provinggrounds_pmc.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.provinggrounds_pmc.pbo rename to Server_Install_Pack/mpmissions/epoch.provinggrounds_pmc.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.sara.pbo b/Server_Install_Pack/mpmissions/epoch.sara.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.sara.pbo rename to Server_Install_Pack/mpmissions/epoch.sara.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.sara_dbe1.pbo b/Server_Install_Pack/mpmissions/epoch.sara_dbe1.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.sara_dbe1.pbo rename to Server_Install_Pack/mpmissions/epoch.sara_dbe1.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.saralite.pbo b/Server_Install_Pack/mpmissions/epoch.saralite.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.saralite.pbo rename to Server_Install_Pack/mpmissions/epoch.saralite.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.shapur_baf.pbo b/Server_Install_Pack/mpmissions/epoch.shapur_baf.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.shapur_baf.pbo rename to Server_Install_Pack/mpmissions/epoch.shapur_baf.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.stratis.pbo b/Server_Install_Pack/mpmissions/epoch.stratis.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.stratis.pbo rename to Server_Install_Pack/mpmissions/epoch.stratis.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.takistan.pbo b/Server_Install_Pack/mpmissions/epoch.takistan.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.takistan.pbo rename to Server_Install_Pack/mpmissions/epoch.takistan.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.tanoa.pbo b/Server_Install_Pack/mpmissions/epoch.tanoa.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.tanoa.pbo rename to Server_Install_Pack/mpmissions/epoch.tanoa.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.utes.pbo b/Server_Install_Pack/mpmissions/epoch.utes.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.utes.pbo rename to Server_Install_Pack/mpmissions/epoch.utes.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.vr.pbo b/Server_Install_Pack/mpmissions/epoch.vr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.vr.pbo rename to Server_Install_Pack/mpmissions/epoch.vr.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.winthera3.pbo b/Server_Install_Pack/mpmissions/epoch.winthera3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.winthera3.pbo rename to Server_Install_Pack/mpmissions/epoch.winthera3.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.woodland_acr.pbo b/Server_Install_Pack/mpmissions/epoch.woodland_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.woodland_acr.pbo rename to Server_Install_Pack/mpmissions/epoch.woodland_acr.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch.zargabad.pbo b/Server_Install_Pack/mpmissions/epoch.zargabad.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch.zargabad.pbo rename to Server_Install_Pack/mpmissions/epoch.zargabad.pbo diff --git a/Server_Install_Pack/mpmissions/u-epoch_ryanzed.tanoa.pbo b/Server_Install_Pack/mpmissions/epoch_ryanzed.tanoa.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/u-epoch_ryanzed.tanoa.pbo rename to Server_Install_Pack/mpmissions/epoch_ryanzed.tanoa.pbo From b372316598919d47492b9e139d709e2050acec45 Mon Sep 17 00:00:00 2001 From: tux-box Date: Sun, 7 Jan 2024 16:06:35 -0600 Subject: [PATCH 4/4] added a make lower case bash script to tools --- Tools/makeLowerCase.bash | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Tools/makeLowerCase.bash diff --git a/Tools/makeLowerCase.bash b/Tools/makeLowerCase.bash new file mode 100644 index 000000000..12e84e539 --- /dev/null +++ b/Tools/makeLowerCase.bash @@ -0,0 +1,27 @@ +#!/bin/bash +#print usage +if [ -z $1 ];then + echo "Usage :$(basename $0) directory to recursivly make lowercase" + exit 1 +fi + +#process all subdirectories and files in parent directory +all="$(find $1 -depth)" + +for name in ${all}; do + #set new name in lower case for files and directories + new_name="$(dirname "${name}")/$(basename "${name}" | tr '[A-Z]' '[a-z]')" + + #check if new name already exists + if [ "${name}" != "${new_name}" ]; then + [ ! -e "${new_name}" ] && mv -T "${name}" "${new_name}"; echo "${name} was renamed to ${new_name}" || echo "${name} wasn't renamed!" + fi +done + +echo +echo +#list directories and file new names in lowercase +echo "Directories and files with new names in lowercase letters" +find $(echo $1 | tr 'A-Z' 'a-z') -depth + +exit 0 \ No newline at end of file