Hi,
I would like to rename on file ending with *.*_old to *.*
It work on the current directory well using:
for a in *_old; do mv "$a" "$(echo "$a" | sed 's/_old//')";
How do I expand it so that it will rename all the file in the subdirectories?
Regards,
Addady
Start Free Trial