Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 23:19:33 -0500
From:      Parv <parv@pair.com>
To:        Walter <walterk1@earthlink.net>, 'Questions' <freebsd-questions@FreeBSD.org>
Subject:   Re: deleting directories with ??? in name
Message-ID:  <20040316041933.GA4098@moo.holy.cow>
In-Reply-To: <20040316035734.GC3419@moo.holy.cow>
References:  <405640BE.9000102@earthlink.net> <A99A5AC30F74624388EE5F757BA58A20D7A27C@RED-MSG-50.redmond.corp.microsoft.com> <20040315235943.GA55958@falcon.midgard.homeip.net> <40564606.3020504@earthlink.net> <20040316035734.GC3419@moo.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20040316035734.GC3419@moo.holy.cow>,
wrote Parv thusly...
>
>     # find . \( -inum <inode-1> -o -inum <inode-2> \) -print0 \
>     # | xargs -0 rm -fv

Oh, don't forget the '-r', for recursion, option for rm(1) as i did.
Use this instead...

  # find . \( -inum <inode-1> -o -inum <inode-2> \) -print0 \
  # | xargs -0 rm -rfv


  - Parv

-- 



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