Multiple rename with find command!

I’ve done this shell script for multiple rename files not in same folder

(for doin that, simply use rename command) using the combination between mv and find in this way:

for i in $(find / -name *.ext1);

do mv $i $(echo $i cut -f1 -d.).ext2;


in the specific, this change an extension of a file (ext1) in one another (ext2).

feel free to modify it to match your needs.


comments powered by Disqus