исправить кодировки имен файлов Ubuntu

sudo apt-get install convmv
find . -type f -print -exec convmv —notest -f -t {} \;

UPD: Неприятный случай с «doubly-encoded to utf-8 from iso-8859-5»

#-*-coding:utf8-*-
import os
allfiles=[]
for root, dirs, files in os.walk("./", topdown=False):
for name in files:
allfiles.append(os.path.join(root, name))

for f in allfiles:
try:
newf=f.decode('utf8').encode('latin1').decode('utf8', 'replace')
except:
print "{} is in proper encoding".format(f)
else:
os.rename(f, newf)
print "{} decoded well".format(f)