From: "Мерзляков Евгений Анатольевич" <hj@acoustics.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] rsync-нуть файлы из CP1251 в UTF8
Date: Wed, 12 Mar 2008 14:12:05 +0500
Message-ID: <200803121412.05402.hj@acoustics.ru> (raw)
In-Reply-To: <fr7tcv$8of$1@ger.gmane.org>
В сообщении от Wednesday 12 March 2008 11:31:30 astroiLL написал(а):
> Есть старые сервера работающие с кодировкой CP1251 и надо постоянно
> забирать от них файлы на сервер на котором действует UTF8.
> Как лучше сделать?
> Ограничения:
> 1. Перевести старые сервера на UTF8 не предлагать.
> 2. Перевести новые на CP1251 не предлагать.
> Сейчас я делаю так:
> $ rsync -avP 10.10.10.13::users/ podr13/users
> Теперь в папке podr13/users имею файлы:
> /???25
> ?????8.xls
> ???1.doc
> при попытке на них:
> convmv -f cp1251 -t utf8 -r --notest .
> файлы конвертируются, а каталоги нет.
> Может можно rsync-ать файлы с конвертацией?
>
rsync3 вроде умеет, судя по этой статье http://www.opennet.ru/opennews/art.shtml?num=14598
--
Мерзляков Е.А.
Jabber ID: humptydumpty@jabber.ru
next prev parent reply other threads:[~2008-03-12 9:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-12 6:31 astroiLL
2008-03-12 6:57 ` Хихин Руслан
2008-03-12 8:10 ` astroiLL
2008-03-12 9:12 ` Мерзляков Евгений Анатольевич [this message]
2008-03-12 11:29 ` astroiLL
2008-03-12 11:58 ` Dmitry V. Levin
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=200803121412.05402.hj@acoustics.ru \
--to=hj@acoustics.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