From owner-freebsd-questions@freebsd.org Sun Jul 1 20:07:44 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7135FDA471 for ; Sun, 1 Jul 2018 20:07:44 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 426F37BD1F for ; Sun, 1 Jul 2018 20:07:43 +0000 (UTC) (envelope-from kremels@kreme.com) Subject: Re: Problem deleting files Content-Type: text/plain; charset=us-ascii From: "@lbutlr" In-Reply-To: <85B4CFC22AC0CA70B917D42D@Pauls-MacBook-Pro.local> Date: Sun, 1 Jul 2018 14:07:36 -0600 X-Random-Signature: Apple Broke Applescrip[t access to signatures, random sigs now powered by Keyboard Maestro Pro X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1 Message-Id: <049611ED-A8CE-41CD-944A-6BEB9916A84E@kreme.com> Content-Transfer-Encoding: quoted-printable References: <85B4CFC22AC0CA70B917D42D@Pauls-MacBook-Pro.local> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3445.100.13.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2018 20:07:44 -0000 On 01 Jul 2018, at 13:13, Paul Schmehl wrote: > find . -type f -exec rm [] \; returns rm: []: No such file or = directory over and over again. Should be {} and not [] But for non-ancient versions of find, this will work find . -type f -delete (I find it much easier to remember and certainly easier to type) --=20 I AM NOT A 32 YEAR OLD WOMAN Bart chalkboard Ep. 7F08