Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

batch rename files fish

#fish
for f in *.pdf
    mv $f (echo $f | sed 's/( )([0-9])/-2/')
end
Comment

PREVIOUS NEXT
Code Example
Shell :: how to take a screenshot with on raspberry pi 
Shell :: Log sync requires rsync to be installed. 
Shell :: a command is running and send en email when completed in ubuntu 
Shell :: logger command to remote syslog 
Shell :: chere cygwin 
Shell :: vim error in ubuntu 
Shell :: dot is not recognized as an internal or external command 
Shell :: install joplin using snap 
Shell :: sudo show asterisks 
Shell :: rst bash code block 
Shell :: Scale fedora desktop size up 
Shell :: windows check line ending of file 
Shell :: unzip mac terminal 
Shell :: git remove from staging 
Shell :: Git bisect automated 
Shell :: xfce apt install xfce4-xkb-plugin 
Shell :: conda install mahotas 
Shell :: Kubernetes cluster unreachable: Get "https://192.168.56.10:6443/version?timeout=32s": net/http: TLS handshake timeout 
Shell :: create a new repository from command line 
Shell :: linux subsystem mount file into windows 
Shell :: how to remove directory with contents in w10 cmd 
Shell :: generate angular unit test automatically 
Shell :: use ampersand in query string 
Shell :: pmset cancel scheduled 
Shell :: how to calculate duration of time in shell script 
Shell :: match first word regex 
Shell :: linux while loop shell 
Shell :: container registry permissions gcp 
Shell :: relocating shards stuck elasticsearch 
Shell :: cannot find lstdc++ ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =