Browse Source

SC2006

pull/1863/head
Daniel Gibbs 7 years ago
parent
commit
d7eada1a31
  1. 2
      lgsm/functions/mods_core.sh

2
lgsm/functions/mods_core.sh

@ -43,7 +43,7 @@ fn_mod_lowercase(){
fileswc=$(find "${extractdir}" -depth | wc -l)
echo -en "\r"
while read -r src; do
dst=`dirname "${src}"`/`basename "${src}" | tr '[A-Z]' '[a-z]'`
dst=$(dirname "${src}"`/`basename "${src}" | tr '[A-Z]' '[a-z]')
if [ "${src}" != "${dst}" ]
then
[ ! -e "${dst}" ] && mv -T "${src}" "${dst}" || echo "${src} was not renamed"

Loading…
Cancel
Save