Problem deleting files
@lbutlr
kremels at kreme.com
Sun Jul 1 20:07:44 UTC 2018
On 01 Jul 2018, at 13:13, Paul Schmehl <paul.schmehl at gmail.com> 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)
--
I AM NOT A 32 YEAR OLD WOMAN Bart chalkboard Ep. 7F08
More information about the freebsd-questions
mailing list