From: Mark Nipper <nipsy@bitgnome.net>
To: M?rio Gamito <gamito@netual.pt>
Cc: linux-admin@vger.kernel.org
Subject: Re: Deleting many files from a directory
Date: Thu, 23 Dec 2004 03:59:17 -0600 [thread overview]
Message-ID: <20041223095917.GA72494@king.bitgnome.net> (raw)
In-Reply-To: <41CA927C.2000508@netual.pt>
On 23 Dec 2004, M?rio Gamito wrote:
> When we have too many files in a directory, let's say thousands, we
> cannot rm -f * on them. The system says there are too many files.
> So, one must go through a tedious process of deleting by parts.
>
> Is there a way to wipe them all at onde ?
Multiple ways to do it really, but one would be:
---
find /path/to/delete -exec rm -f \{\} \;
--
Mark Nipper e-contacts:
4475 Carter Creek Parkway nipsy@bitgnome.net
Apartment 724 http://nipsy.bitgnome.net/
Bryan, Texas, 77802-4481 AIM/Yahoo: texasnipsy ICQ: 66971617
(979)575-3193 MSN: nipsy@tamu.edu
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GG/IT d- s++:+ a- C++$ UBL++++$ P--->+++ L+++$ !E---
W++(--) N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--)
Y+ PGP t+ 5 X R tv b+++@ DI+(++) D+ G e h r++ y+(**)
------END GEEK CODE BLOCK------
---begin random quote of the moment---
"Suppose you were an idiot and suppose you were a member of
Congress. But I repeat myself."
-- Mark Twain
----end random quote of the moment----
next prev parent reply other threads:[~2004-12-23 9:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-23 9:40 Deleting many files from a directory Mário Gamito
2004-12-23 9:59 ` Mark Nipper [this message]
2004-12-23 10:13 ` harry_b
2004-12-23 10:48 ` Mark Nipper
2004-12-30 11:25 ` Glynn Clements
2004-12-23 12:08 ` Hal Wigoda
2004-12-30 11:26 ` Glynn Clements
2004-12-25 12:08 ` Gustavo Guillermo Perez
2004-12-24 18:39 ` John Julian
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=20041223095917.GA72494@king.bitgnome.net \
--to=nipsy@bitgnome.net \
--cc=gamito@netual.pt \
--cc=linux-admin@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).