F
F
Frodo2011-04-11 19:19:40
Python
Frodo, 2011-04-11 19:19:40

Change file name encoding

Guys, you are all smart programmers here, help with such a problem:
there are a bunch of files that are called,

Сладкие истории - Вишневые пирожные.avi

as far as I understand, this is cp1251 read as UTF-8. Please make a script in python or something else that will rename them all in a crowd into a normal human language!

PS the decision is necessary for Windows.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
andrey_kl, 2011-04-11
@Frodo

did not rewrite, found a full-fledged tool for windows

A
andrey_kl, 2011-04-11
@andrey_kl

I think it should help:
cd ~/каталог_с_файлами
convmv -rf cp1251 -t utf-8 --notest *

E
edhell, 2013-06-03
​​@edhell

wincmd.ru/plugring/Translit.html - for Windows, this option is convenient so as not to mess with pearl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question