Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2018 21:42:09 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problem deleting files
Message-ID:  <20180701214209.6b1f9d1f208e8387bfe33fa5@sohara.org>
In-Reply-To: <20180702.044831.477271088854915236.yasu@utahime.org>
References:  <85B4CFC22AC0CA70B917D42D@Pauls-MacBook-Pro.local> <20180702.044831.477271088854915236.yasu@utahime.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 02 Jul 2018 04:48:31 +0900 (JST)
Yasuhiro KIMURA <yasu@utahime.org> wrote:

> Try following command.
> 
> find . -type f -print0 | xargs -0 rm -f

	Better still (saves a lot of forking)

find . -type f -delete

	
-- 
Steve O'Hara-Smith <steve@sohara.org>



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