ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sasha Bogachyk <sbog@ukrpost.net>
To: community@lists.altlinux.org
Subject: Re: [Comm] квадратики вместо букв
Date: Sat, 15 Sep 2007 09:49:20 +0300
Message-ID: <20070915094920.22549519@amenable.betrayer.volia-lviv.com> (raw)
In-Reply-To: <20070914211302.GD22022@osdn.org.ua>

On Sat, 15 Sep 2007 00:13:02 +0300
Michael Shigorin <mike@osdn.org.ua> wrote:

> On Sat, Sep 15, 2007 at 12:46:47AM +1300, Alexey Borovskoy wrote:
> > > Перешел с KOI8-U на UTF-8 все бы нормально, но имел глупость
> > > назвать некоторые файлы и папки на украинском теперь там
> > > вместо букв кубики, конечно можно переименовывать вручную, но
> > > это займет время, которого хронически не хватает, есть способ
> > > их перекодировать всех скопом? Заранее спасибо.
> > convmv
> 
> Для клинических случаев (обычно при распаковке архивов)
> есть ещё enconvmv, оно пытается угадать кодировку конкретного
> имени.
> 
> Для бэкапа имён файлов и каталогов хорошо работает cp -al
> (делает хардлинки -- можно нужное дерево каталогов скопировать
> так рядом, потом отконвертить и если всё в порядке -- удалить
> копию, если нет -- "оригинал" и cp -al копию опять в оригинал,
> чтоб делать новую попытку :)

Удалось сделать convmv -f koi8-u -t utf-8 -r --nosmart --notest,
на счастье файлов было немного, сначала конечно без --notest чтобы
проверить правильность перекодирования, конечно немного рисковано,
некоторые файлы пришлось перекодировать по новой отдельно, потому
как с utf в koi8-u опять перекинули, но это по моей глупости, я
забыл что уже некоторые папки перекодировал перед этим. Одним словом
исправил за 15 минут, спасибо.

 --
С уважением,
Саша


  parent reply	other threads:[~2007-09-15  6:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14 10:31 Sasha Bogachyk
2007-09-14 11:46 ` Alexey Borovskoy
2007-09-14 21:13   ` Michael Shigorin
2007-09-15  5:39     ` Хихин Руслан
2007-09-15 10:24       ` Michael Shigorin
2007-09-15  6:49     ` Sasha Bogachyk
2007-09-15  6:49     ` Sasha Bogachyk [this message]
2007-09-15  6:49     ` Sasha Bogachyk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070915094920.22549519@amenable.betrayer.volia-lviv.com \
    --to=sbog@ukrpost.net \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git