ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrei Lomov <lomov@math.nsc.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Перекодировка имен файлов из KOI8-r в UTF
Date: Mon, 15 Oct 2007 21:19:10 +0700
Message-ID: <fevst2$gdc$1@ger.gmane.org> (raw)
In-Reply-To: <200710151255.09147.cas@altlinux.ru>

Андрей Черепанов wrote:

> 15 октября 2007 Kostarev Alexey написал:
>> Как-то информация эта уже проскакивала в рассылке - не могу найти
>> концов...
> convmv -r --notest --nosmart -f koi8-r -t utf-8 *
> 
> Но нужно проверять, так как он не везде справляется

Символические ссылки вроде нужно отдельно обработать,
не только имя, но и содержание ссылки перекодировать.

=============
 # Перевод имени пути, на который указывает ссылка "$1", из koi8-r в utf-8
 
  ln -s "`readlink \"$1\" | iconv -f koi8-r -t utf-8`" "$1".utf
  

=============
 

-- 
Всего доброго,
А.Л.




      parent reply	other threads:[~2007-10-15 14:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15  8:40 Kostarev Alexey
2007-10-15  8:52 ` Alexey Rusakov
2007-10-15  8:55 ` Андрей Черепанов
2007-10-15  9:15   ` Kostarev Alexey
2007-10-15  9:17     ` Андрей Черепанов
2007-10-15 11:22       ` Владимир Черный
2007-10-15 14:19   ` Andrei Lomov [this message]

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='fevst2$gdc$1@ger.gmane.org' \
    --to=lomov@math.nsc.ru \
    --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