From: "Aleksander N. Gorohovski" <angel@feht.dgtu.donetsk.ua> To: "ALT Linux Community" <community@altlinux.ru> Subject: Re: [Comm] remove file in Win Date: Wed, 31 Aug 2005 13:58:15 +0400 Message-ID: <op.swc9zdpohz2pp6@oc.peooc.net> (raw) In-Reply-To: <4315826D.5050708@nevod.ru> On Wed, 31 Aug 2005 14:11:57 +0400, Kostarev Alexey wrote: > Aleksander N. Gorohovski wrote: > >> Доброго времени суток сообщество! >> >> Подскажите (может кто сталкивался) как удалить файл (директорию) >> на удаленной Win-системе, имя которого содержит, по всей видимости >> символы из набора украинского или друго языка (может китайского). >> Я выполняю следующее в локалке: >> >> 1) в Linux системе монтирую удаленный на Win системе C-диск: >> # smbmount //comp05/C /mnt/disk >> >> 2) перехожу >> # cd /mnt/disk >> >> 3) Пытаюсь удалить не нужный объект: >> # rm ДИН_\:407.doc >> >> В ответ получаю: >> rm: cannot lstat `\344\351\356_:0407.doc' No such file or directory >> хотя ls говорит о существовании ДИН_\:407.doc >> >> Попробовал: >> # rm -f ДИН_\:407.doc >> Никакого результата. >> :-( > > rm *_/407.doc > Это если в других директорих нет 407.doc Так, "ДИН_\:" - это не директория, это часть имени файла, который показывает ls (или mc) и который добавляется по <Tab> в параметры к rm. :-) \:407 - это цифровое обозначение (кодирование) "не хорошего" символа. > или указаит rm -i */407.doc > для указания файла для удаления...
next prev parent reply other threads:[~2005-08-31 9:58 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-08-31 8:59 Aleksander N. Gorohovski 2005-08-31 10:11 ` Kostarev Alexey 2005-08-31 9:58 ` Aleksander N. Gorohovski [this message] 2005-08-31 11:00 ` Kostarev Alexey
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=op.swc9zdpohz2pp6@oc.peooc.net \ --to=angel@feht.dgtu.donetsk.ua \ --cc=community@altlinux.ru \ /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