in reply to renaming filenames
ls * | perl -nle'$in=$_; s/canción/Poesía/; $out=$_; rename($in,$out)if!-e$out'
Works for me. Details in this node
Corrected -e$n: thanks to remiah
In Section
Seekers of Perl Wisdom
in reply to renaming filenames
Works for me. Details in this node
Corrected -e$n: thanks to remiah