Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

renaming files in a folde to sequential numbers and perfix

find .  | grep 'mp4' | nl -nrz -w3 -v1 | while read n f; do mv "$f" "myPerfix-$n.mp4"; done
Comment

PREVIOUS NEXT
Code Example
Shell :: sortchut presen window all desktop kde 
Shell :: jre-8u331-linux-x64.rpm 
Shell :: How to Loop through Array Elements 
Shell :: cairo dock/glx dock install on ubuntu 22. 
Shell :: ubuntu create ln 
Shell :: How to create a gpt partition table with fdisk 
Shell :: git commit remove and restore 
Shell :: shell script local variable 
Shell :: How to show diffs for gpg-encrypted files? 
Shell :: how to do a conditional check in shell 
Shell :: exec format error heroku dockerfile M1 chip 
Shell :: bash directorry permision if 
Shell :: getting help for git 
Shell :: timotei felvinczi githbun 
Shell :: add second clock to windows powershell 
Shell :: how to check apt upgradable size 
Shell :: shopify buy sdk 
Shell :: deleting when you terminate it 
Shell :: "mkdir -p" exemple 
Shell :: intellij in ununtu 
Shell :: output and error redirection in linux 
Shell :: autpep8 --in-place --aggressive 
Shell :: Error getting SSL certificate "default/tls-secret": local SSL certificate default/tls-secret was not found. Using default certificate 
Shell :: Copying Single File from Server to Local System 
Shell :: add user to sudoer "zsh" same powerlevel10k customization for root 
Shell :: The main configuration file containing paths to utilities, services and packages used by Plesk 
Shell :: Warning: Pub installs executables into $HOME/.pub-cache/ 
Shell :: ubuntu uninstall google chrome 
Shell :: WSL distro startup fail 
Shell :: Cannot create files/folders in new partition 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =