Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux rename command incremental

# rename random file names to incrementing numbers with prefix (new_name)
rename 'our $i; s/^[^.]+/sprintf "new_name-%02d", $i++/e' *.jpg
# output: new_name-00.jpg new_name-01.jpg etc
Comment

PREVIOUS NEXT
Code Example
Shell :: truffle.ps1 is not digitally signed 
Shell :: ssh github generate key 
Shell :: choco list local packages 
Shell :: heroku cli delete app 
Shell :: git vimdiff 
Shell :: awk sum if 
Shell :: how to enable autocomplete in jupyter notebook 
Shell :: save firewall config linux 
Shell :: tar bash 
Shell :: doctrine cache clear 
Shell :: git init repo 
Shell :: extract tar linux 
Shell :: tail colorful 
Shell :: sublime text download ubuntu 
Shell :: firebase login no localhost 
Shell :: changing mac address linux 
Shell :: linux view environment variables 
Shell :: increase ssh session timeout linux 
Shell :: clear bash command history 
Shell :: check what ports are open linux 
Shell :: shell single line for loop syntax 
Shell :: open bullet 2 installation on kali linux WEB 
Shell :: uninstall service cmd 
Shell :: create and run docker registry 
Shell :: hardhat compile 
Shell :: mongodb view users 
Shell :: kill port windows 
Shell :: split terminal horizontally ubuntu 20.04 
Shell :: curl show powershell show full content 
Shell :: how to clone a repo with a different name 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =