Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2006 22:10:26 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: rm command problem
Message-ID:  <453A8CC2.1080405@dial.pipex.com>
In-Reply-To: <ehb3o0$kvq$1@sea.gmane.org>
References:  <20061020162119.49001.qmail@web25221.mail.ukl.yahoo.com>	<45390333.4020007@pixelhammer.com> <ehb3o0$kvq$1@sea.gmane.org>

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

> DAve wrote:
>
>>
>> director# find . -inum 107763 -exec rm -i {} \;
>> remove ./.rhosts? y
>
>
> Well, that was fun! I was wondering just how many different ways people
> could come up with deleting the file, but this one has to be crowned the
> winner of the all important "Most Obscure Solution" :-) To delete 
> something
> based upon the inode - fantastic!       

Most handy  for filenames loaded with unprintable characters which "ls" 
just shows as "?" and which you have no clue how to type or wildcard, 
but not required for simple - prefixed files, as has been demonstrated :-)

--Alex







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