Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux rename multiple files

$ for i in *.log; do mv -- "$i" "${i%.log}.txt"; done
Source by linuxconfig.org #
 
PREVIOUS NEXT
Tagged: #linux #rename #multiple #files
ADD COMMENT
Topic
Name
6+7 =