Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux rename multiple files

$ for i in *.log; do mv -- "$i" "${i%.log}.txt"; done
Comment

linux rename multiple files

$ for i in $( ls ); do mv $i $i.old; done
Comment

linux rename multiple files

$ for i in $( ls ); do mv $i $i.txt; done
Comment

bash rename multiple files pattern

for f in *.jpg; do mv "$f" "$(echo "$f" | sed s/IMG/VACATION/)"; done
Comment

bash rename multiple files pattern

rename 's/^/MyVacation2011_/g' *.jpg
Comment

PREVIOUS NEXT
Code Example
Shell :: create github ssh key 
Shell :: how to install powershell 
Shell :: bash: /usr/local/bin/firebase: Permission denied 
Shell :: vscode publish to github organisation 
Shell :: grep after match 
Shell :: remove untracked files git 
Shell :: upload git repository to github 
Shell :: .bat script on computer startup 
Shell :: find external ip ubuntu 
Shell :: pip install influxdb 
Shell :: chown a file 
Shell :: makefile 
Shell :: git delete commit from history 
Shell :: git basic commands 
Shell :: git recover deleted file 
Shell :: add and install gem rails 
Shell :: ubuntu restart systemctl 
Shell :: how to deploy react and backend to github pages 
Shell :: uname -r command 
Shell :: ubuntu gitlab 
Shell :: ssh rsa key login 
Shell :: how to check raspbian os version 
Shell :: git revert remote branch 
Shell :: Generate Key Hashes For Facebook login Android app 
Shell :: Difference between user and group in Linux 
Shell :: cartesian product file shell 
Shell :: bashub 
Shell :: increase minikube resources linux 
Shell :: How to install 4k video Downloader YouTube on Ubuntu Linux 
Shell :: docker exec 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =