ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] rsync-нуть файлы из CP1251 в UTF8
@ 2008-03-12  6:31 astroiLL
  2008-03-12  6:57 ` Хихин Руслан
  2008-03-12  9:12 ` Мерзляков Евгений Анатольевич
  0 siblings, 2 replies; 6+ messages in thread
From: astroiLL @ 2008-03-12  6:31 UTC (permalink / raw)
  To: community

Есть старые сервера работающие с кодировкой 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-ать файлы с конвертацией?

-- 
Linux & Astronomy
Ilya Bryzgalow
http://astrokuban.info/
-----------------------------------
i don't smoke and wish you the same!



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-03-12 11:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-12  6:31 [Comm] rsync-нуть файлы из CP1251 в UTF8 astroiLL
2008-03-12  6:57 ` Хихин Руслан
2008-03-12  8:10   ` astroiLL
2008-03-12  9:12 ` Мерзляков Евгений Анатольевич
2008-03-12 11:29   ` astroiLL
2008-03-12 11:58     ` Dmitry V. Levin

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