(for doin that, simply use rename command) using the combination between mv and find in this way:
for i in $(find / -name *.ext1);in the specific, this change an extension of a file (ext1) in one another (ext2).
do mv $i $(echo $i | cut -f1 -d.).ext2;
done
feel free to modify it to match your needs.
bye
Nessun commento:
Posta un commento