* Re: [Comm] перенос данный с одного хоста(koi8) на другой(utf)... крокозябры в имене файлов/директорий @ 2007-09-30 13:04 ` Pavlov Konstantin 2007-09-30 13:38 ` Maks Re 0 siblings, 1 reply; 6+ messages in thread From: Pavlov Konstantin @ 2007-09-30 13:04 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 1229 bytes --] On Sun, Sep 30, 2007 at 05:01:30PM +0400, Maks Re wrote: > казалось, что проще чем перенести данный с одного раздела одного ПК на > другой другого ПК... > > первый ПК - мастер 24, на нем много чего есть и очень много по-русски (т.е. > koi8) > > второй ПК - новые сервак... > там ALS4 поднят... и там соответственно есть utf > > берем и переносим... и получает на новам серваке нужное, но почему-то > все-таки оно скопировало в файлы сохранило в кодировке koi8, а не utf8.... > > пробовал копировать через ssh > > это я что-то пропустил, и надо копировать как-то по другому? > или просто вижу совсем не то.. > > ЗЫ: если приконектится на als4 на консоль (локаль utf) выставить кодировку > (в konsole) как koi8-r - то вайлы корректно отображаются, а вот системный > сообщения уже крокозябры... > > ЗЫЫ: пробовал упоковать сначала в tar, и потов перенести, распоковать - > эффект тотже, т.е. файлы распакаываются как koi8, а не utf > > вообщем вапрос: > как перенести много файлов с русскими названиями меду двумя ПК? rsync и потом convmv? -- Свойство патчей "отваливаться в случае изменений" - это важное преимущество, а вовсе не недостаток, как полагают многие. -- ldv in devel@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] перенос данный с одного хоста(koi8) на другой(utf)... крокозябры в имене файлов/директорий 2007-09-30 13:04 ` [Comm] перенос данный с одного хоста(koi8) на другой(utf)... крокозябры в имене файлов/директорий Pavlov Konstantin @ 2007-09-30 13:38 ` Maks Re 2007-09-30 13:45 ` Pavlov Konstantin ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Maks Re @ 2007-09-30 13:38 UTC (permalink / raw) To: ALT Linux Community general discussions > > rsync и потом convmv? > PC1 #rsync -va --progress -e ssh /opt/samba_share/Archives 192.168.1.9:/opt/vol2/ PC2 $convmv -f koi8-r -t utf8 -r /opt/vol2/Archives/ .... Skipping, already UTF-8: /opt/vol2/Archives/ArchivesStroy/����������� No changes to your files done. Use --notest to finally rename the files. что-то я не понял... если они уже в utf - то почему так криво записаны? -- С уважением, Макс. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] перенос данный с одного хоста(koi8) на другой(utf)... крокозябры в имене файлов/директорий 2007-09-30 13:38 ` Maks Re @ 2007-09-30 13:45 ` Pavlov Konstantin 2007-09-30 14:03 ` andriy 2007-09-30 14:32 ` Евгений Терешков 2 siblings, 0 replies; 6+ messages in thread From: Pavlov Konstantin @ 2007-09-30 13:45 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 914 bytes --] On Sun, Sep 30, 2007 at 05:38:43PM +0400, Maks Re wrote: > > > > rsync и потом convmv? > > > > PC1 > #rsync -va --progress -e ssh /opt/samba_share/Archives 192.168.1.9:/opt/vol2/ > > > PC2 > $convmv -f koi8-r -t utf8 -r /opt/vol2/Archives/ > .... > Skipping, already UTF-8: /opt/vol2/Archives/ArchivesStroy/����������� > No changes to your files done. Use --notest to finally rename the files. > > что-то я не понял... > если они уже в utf - то почему так криво записаны? echo $LANG другой вариант -- convmv, потом rsync -- <AMorozov> raorn: то, что в речи иногда проскакивает <selfcensored>, дак это от бедности собственного лексикона. * dottedmag .oO(или от богатства скриптов) :) [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] перенос данный с одного хоста(koi8) на другой(utf)... крокозябры в имене файлов/директорий 2007-09-30 13:38 ` Maks Re 2007-09-30 13:45 ` Pavlov Konstantin @ 2007-09-30 14:03 ` andriy 2007-09-30 14:32 ` Евгений Терешков 2 siblings, 0 replies; 6+ messages in thread From: andriy @ 2007-09-30 14:03 UTC (permalink / raw) To: ALT Linux Community general discussions Maks Re пишет: >> rsync и потом convmv? >> >> > > PC1 > #rsync -va --progress -e ssh /opt/samba_share/Archives 192.168.1.9:/opt/vol2/ > > > PC2 > $convmv -f koi8-r -t utf8 -r /opt/vol2/Archives/ > .... > Skipping, already UTF-8: /opt/vol2/Archives/ArchivesStroy/����������� > No changes to your files done. Use --notest to finally rename the files. > > что-то я не понял... > если они уже в utf - то почему так криво записаны? > > > > попробуйте convmv с опцией --nosmart ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] перенос данный с одного хоста(koi8) на другой(utf)... крокозябры в имене файлов/директорий 2007-09-30 13:38 ` Maks Re 2007-09-30 13:45 ` Pavlov Konstantin 2007-09-30 14:03 ` andriy @ 2007-09-30 14:32 ` Евгений Терешков 2007-09-30 16:42 ` Maks Re 2 siblings, 1 reply; 6+ messages in thread From: Евгений Терешков @ 2007-09-30 14:32 UTC (permalink / raw) To: ALT Linux Community general discussions "Maks Re" пишет: > PC2 > $convmv -f koi8-r -t utf8 -r /opt/vol2/Archives/ > .... > Skipping, already UTF-8: /opt/vol2/Archives/ArchivesStroy/����������� > No changes to your files done. Use --notest to finally rename the files. > > что-то я не понял... > если они уже в utf - то почему так криво записаны? Посмотрите баги в багзилле, где упоминается convmv. Есть такой, что оно так себя ведёт без --nosmart. На самом деле, бага вроде где-то в нижележащем перле. -- С уважением, Терешков Евгений. Jabber ID: evg@altlinux.org, evg_krsk@jabber.ru ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] перенос данный с одного хоста(koi8) на другой(utf)... крокозябры в имене файлов/директорий 2007-09-30 14:32 ` Евгений Терешков @ 2007-09-30 16:42 ` Maks Re 0 siblings, 0 replies; 6+ messages in thread From: Maks Re @ 2007-09-30 16:42 UTC (permalink / raw) To: ALT Linux Community general discussions да, помогло $convmv -f koi8-r -t utf8 -r --nosmart --notest /opt/vol2 On 9/30/07, Евгений Терешков <evg_krsk@inbox.ru> wrote: > "Maks Re" пишет: > > > PC2 > > $convmv -f koi8-r -t utf8 -r /opt/vol2/Archives/ > > .... > > Skipping, already UTF-8: /opt/vol2/Archives/ArchivesStroy/����������� > > No changes to your files done. Use --notest to finally rename the files. > > > > что-то я не понял... > > если они уже в utf - то почему так криво записаны? > > Посмотрите баги в багзилле, где упоминается convmv. Есть такой, что оно так > себя ведёт без --nosmart. На самом деле, бага вроде где-то в нижележащем > перле. > > -- > С уважением, Терешков Евгений. > Jabber ID: evg@altlinux.org, evg_krsk@jabber.ru > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community -- С уважением, Макс. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-09-30 16:42 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-09-30 13:04 ` [Comm] перенос данный с одного хоста(koi8) на другой(utf)... крокозябры в имене файлов/директорий Pavlov Konstantin 2007-09-30 13:38 ` Maks Re 2007-09-30 13:45 ` Pavlov Konstantin 2007-09-30 14:03 ` andriy 2007-09-30 14:32 ` Евгений Терешков 2007-09-30 16:42 ` Maks Re
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