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 :: bluetooth headphone not working linux mint 
Shell :: how to remove all picture in folder with command line 
Shell :: force delete folder 
Shell :: pacman remove orphaned dependencies 
Shell :: linux command print hostname 
Shell :: GVfs metadata is not supported. Fallback to Tell Metadata Manager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata. 
Shell :: undo git pull 
Shell :: uninstall redis ubuntu terminal 
Shell :: notepad++ kali 
Shell :: Github Connection Error 
Shell :: clear history powershell 
Shell :: getkirby install editor 
Shell :: install wget 
Shell :: how to uninstall atom in ubuntu 
Shell :: ubuntu install latest node and npm 
Shell :: ip address in variable 
Shell :: git mainstages 
Shell :: oclif export to npm 
Shell :: Dominic Fike - 3 Nights magnum pi 
Shell :: linux replace string in files recursively 
Shell :: add desktop entry ubuntu 
Shell :: remove global configuration in git 
Shell :: ubuntu set new default terminal 
Shell :: cd ~/.ssh on mac 
Shell :: nginx docker redirect no trailing slash to trailing slash 
Shell :: sqlite3 attempt to write a readonly database 
Shell :: bluetooth linux 
Shell :: decode base64 command line 
Shell :: thousand separator shell 
Shell :: linux extract zip with password 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =