ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.org>
Subject: Re: [Comm] rm - не работает рекурсивное удаление?
Date: Thu, 15 Sep 2005 21:53:07 +0400
Message-ID: <20050915175307.GA327@basalt.office.altlinux.org> (raw)
In-Reply-To: <200509152140.06238.dlagovna@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

On Thu, Sep 15, 2005 at 09:40:06PM +0400, Sergey Stepanov wrote:
> В сообщении от Четверг 15 Сентябрь 2005 21:22 Michael Holzman написал(a):
> > On 9/15/05, Sergey Stepanov <dlagovna@mail.ru> wrote:
> > > Что я не так делаю?
> > > Как мне удалить файлы по маске имени внутри подкаталогов?
> >
> > find <dir> -name <mask> -exec rm -f {} \;
> >
> > и man Вам в помощь
> 
> А почему rm -R не работает?
> Я вот читаю man - должно работать.

rm -R работает.

> Вроде команда rm -R *.tga имеет правильный синтаксис.

Увы, это не так.

> Чего не так делаю?

Вы неправильно трактуете документацию, упуская из виду некоторые
фундаментальные свойства операционной системы
(globbing выполняет shell).


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-09-15 17:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 17:08 Sergey Stepanov
2005-09-15 17:22 ` Michael Holzman
2005-09-15 17:40   ` Sergey Stepanov
2005-09-15 17:53     ` Dmitry V. Levin [this message]
2005-09-16 16:41       ` [Comm][JT] " Sergey Stepanov
2005-09-16 18:25         ` Pavel Usischev
2005-09-16 19:54         ` Vasily Kolomeets
2005-09-16 20:27         ` Alexey Rusakov
2005-09-20  9:50         ` [Comm] Administrativia Michael Shigorin
2005-09-20 10:05           ` Владимир Гусев
2005-09-15 17:53     ` [Comm] rm - не работает рекурсивное удаление? Michael Holzman
2005-09-15 19:02 ` [Comm] " Michael Shigorin
2005-09-16  7:44 ` [Comm] " ABATAPA

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=20050915175307.GA327@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=community@altlinux.org \
    --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