From: Maxim Bodynasky <maximbo@rambler.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Поторопился :-)
Date: Tue, 7 Sep 2004 16:07:08 +0400
Message-ID: <20040907120708.GA1365@maximbo.istranet.ru> (raw)
In-Reply-To: <200409071549.55121.kosha@kp.ru>
Как-то это было написано Korshunov Ilya:
> В сообщении от Вторник 07 Сентябрь 2004 15:45 Maxim Bodynasky написал(a):
> > можно написать что-нибудь вроде:
> >
> > for f in *; do rm -f "$f"; done
> >
> > медлено, но верно :-)
>
> При том количестве файлов которые мы накопили (забыли про спам в карантине) -
> это будет даже очень медленно :-)
хммм, ну если совсем тяжело, то можно так :-)
perl -we 'for (glob "*") { unlink if -f }'
хотя когда я вот так вот, башевым for + cat прогонял несколько тысяч
файлов из Sylpheed через procmail, особого торможения не заметил.
next prev parent reply other threads:[~2004-09-07 12:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-07 10:56 [Comm] Как удалить ОЧЕНЬ много файлов Korshunov Ilya
2004-09-07 11:02 ` Alexey I. Froloff
2004-09-07 11:32 ` Korshunov Ilya
2004-09-07 11:34 ` [Comm] Поторопился :-) Korshunov Ilya
2004-09-07 11:44 ` Alexey I. Froloff
2004-09-07 11:45 ` Korshunov Ilya
2004-09-07 11:45 ` Maxim Bodynasky
2004-09-07 11:49 ` Korshunov Ilya
2004-09-07 12:07 ` Maxim Bodynasky [this message]
2004-09-07 12:27 ` Korshunov Ilya
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=20040907120708.GA1365@maximbo.istranet.ru \
--to=maximbo@rambler.ru \
--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