Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

batch rename folders & trim spaces & add prefix / suffix

# Rename all files & add prefix
for filename in *.jpg; do mv "$filename" "prefix_$filename"; done;
# Rename all forders & remove space & add suffix
for filename in ./*;do mv "$filename" "$(echo $filename|sed 's/ /_/g')"_JRTV; done;
Comment

PREVIOUS NEXT
Code Example
Shell :: pip install PyPortfolioOpt 
Shell :: shell remove consecutive newline 
Shell :: OPEN ROOT FOLDER IN KLI 
Shell :: http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu focal main 
Shell :: ffmpeg whatsapp or telegram format 
Shell :: cp terminal progress bar 
Shell :: command line linux delete all the line 
Shell :: top command details 
Shell :: ps -A |grep locust 
Shell :: virt manager share folder with virtual machine windows 10 
Shell :: how to define a command bash 
Shell :: github.com:Torono909/Torono909.git 
Shell :: clamscan version command 
Shell :: watch bash second 
Shell :: lINUX OS Command line to Creat A new File 
Shell :: can you upgrade processort without reinstalling proxmox 
Shell :: powershell disable password complexity 
Shell :: how to install newrelic agent on aws linux 
Shell :: on-root/non-service/non-daemon users 
Shell :: shared folder in vmware workstation 15 rhel 8 
Shell :: dll create github 
Shell :: hack+0000000000000000000000000000000000000000+sha1+master+git 
Shell :: beanstalk no log in cloudwatch 
Shell :: ubuntu terminal how to copy and move file 
Shell :: sbt debian 
Shell :: how to get battery percentage using batch file 
Shell :: fslsplit 
Shell :: how to look for issues you are assignd to on github 
Shell :: dash_install 
Shell :: attached the name of the folder to the file in linux 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =