Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

convert all file names to lowercase linux

# install rename
# in directory:
rename 'y/A-Z/a-z/' *
Comment

convert all files to lowercase using shell script

#!/bin/sh

for x in `ls`
  do
  if [ ! -f $x ]; then
    continue
    fi
  lc=`echo $x  | tr '[A-Z]' '[a-z]'`
  if [ $lc != $x ]; then
    mv -i $x $lc
  fi
  done
Comment

PREVIOUS NEXT
Code Example
Shell :: open firewall port in linux 
Shell :: bash for i in range then 
Shell :: how to start docker 
Shell :: fedora spotify 
Shell :: docker-compose container list 
Shell :: install chromedriver linux command line 
Shell :: git reset to latest commit 
Shell :: how to update vscode on ubuntu 
Shell :: number of directories in a directory linux 
Shell :: Clean Up Migrations and Speed up Tests 
Shell :: ubuntu delete from ssh known hosts 
Shell :: aws cli download multiple files s3 
Shell :: installing dolphin on ubuntu 
Shell :: brew services start mongodb 
Shell :: how to install admin-lte with npm 
Shell :: sveltekit normalize css 
Shell :: screen recorder linux 
Shell :: git update on linux 
Shell :: npm inatall latest version ubuntu 
Shell :: device or resource busy 
Shell :: fatal: unable to access Could not resolve host wsl 
Shell :: install firewalld ubuntu 20.04 
Shell :: https host ngrok 
Shell :: ubuntu command history 
Shell :: command to open linux home folder in windows 
Shell :: install bootstrap 4 with npm 
Shell :: extract tar.gz ubuntu terminal 
Shell :: keep sudo on 
Shell :: capacitor icon and splash 
Shell :: ubuntu apache2 command 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =