On 9/10/19 10:03 PM, Aaro Koskinen wrote:
Hi,

On Tue, Sep 10, 2019 at 06:29:02PM +0200, Tim Tassonis wrote:
I just found out about a terribly convenient way to recursively delete empty
directories with find, using the options -empty and -delete

It seems current busybox does not support these, are there any plans to add
them?

Busybox already supports -delete. I have an old patch to add -empty, I'll
post that.


Great, thank you very much, applied it on 1.30.1, ran it on a kernel modules directory with no files in it and it was gone! The other directory containing a symlink in build pointing to a directory stayed with only that in it, so I guess all is really well.

Bye
Tim
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to