Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 10:16:05 -0500
From:      Walter <walterk1@earthlink.net>
To:        Parv <parv@pair.com>
Cc:        'Questions' <freebsd-questions@FreeBSD.org>
Subject:   Re: deleting directories with ??? in name
Message-ID:  <40571A35.7040702@earthlink.net>
In-Reply-To: <20040316041933.GA4098@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> <20040316041933.GA4098@moo.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help
Parv wrote:

> 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

Thanks, but when I did:
ls -i
and then typed in the inode in the command (saved in
an old List e-mail):
find . -inum <inode> -delete
it didn't delete them.  Do you think your way would work
where manual command wouldn't?  But, they are gone now,
so I can't try it anyway.



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