(Summary) removing 1 of 2 files with same name, diff inode number, same dir

From: Paul <unix_at_bikesn4x4s.com>
Date: Thu Feb 05 2004 - 03:17:08 EST
> We have 2 files with the same name in same dir.  We see it has 2 seperate
> inode numbers.  I was thinking that there is a file system corruption and
> the disk may need an "fschck".  It won't let me delete by inode number,
> says "file not found".  Would be great if we can correct this when it's
> up.  What's the best way?  Thanks.
>

OK, this did it:

find . -inum 1234 | xargs rm
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 5 03:16:52 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:29 EST