Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

rename multiple files in linux

# Change all jpeg to jpg
for f in *.jpeg; do
    mv -- "$f" "${f%.jpeg}.jpg"
done
Source by linuxconfig.org #
 
PREVIOUS NEXT
Tagged: #rename #multiple #files #linux
ADD COMMENT
Topic
Name
3+7 =