Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 00:48:23 +0100
From:      =?utf-8?B?QmrDtnJuIEvDtm5pZw==?= <bkoenig@cs.tu-berlin.de>
To:        "'Darryl Okahata'" <darrylo@soco.agilent.com>
Cc:        freebsd-stable@freebsd.org
Subject:   RE: Very large directory 
Message-ID:  <20050120234721.282D9CCE93F@mail.alpha-tierchen.de>
In-Reply-To: <200501202136.NAA13625@mina.soco.agilent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Darryl Okahata wrote:

> find . -type f -print0 | xargs -0 rm -f
> Slightly more typing, but more robust.

The find utility of FreeBSD knows a -delete option, e.g.:

  find /path/to/your/directory -type f -delete

Regards Bj=C3=B6rn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050120234721.282D9CCE93F>