On Tue, Oct 13, 2015 at 3:19 PM, Mike Frysinger <[email protected]> wrote:
> On 13 Oct 2015 14:58, Charles Diza wrote: > > > For (2) I suggest using coreutils; 'rm -fr directory should do the > trick > > > if you're using GNU rm. > > > > That doesn't work; it gives the same result as using the built-in BSD > `rm` > > on OSX. > > is your coreutils version up to date ? if so, please send another bug > report to the GNU/coreutils list. if not, you should update it ;). > -mike `grm --version` says "8.24" Anyway, I think this just is OSX being weird. If I just write a ruby script that creates 337 nested but empty dirs whose names are a1 thru a337, the tree is unremovable at first. But if I repeat `rm -rf [nameofthetoplevel]`, it gradually prunes down the tree after three or four attempts. If instead I use coreutils-rm, it works immediately from the start. But the "confdir-14B--" tree is a different story. No such gradual pruning works, and neither does coreutils' `rm`. (The latter says "No space left on device", whatever that means.) I am only able to remove the confdir-14B--- tree by first renaming all the nodes to the form "aN". Cheers, Charles
