[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to find all hard links of the same file



T o n g wrote:
> Hi, 
>
> If the hard link field of a file is more than one, how can I find out all 
> the other hard links to this file?
>   

find <root of the filesystem where the file is> -xdev -samefile <path to
file>

Or something similar

-- 
To understand a program you must become both the machine and the program.

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br
http://move.to/hpkb


Reply to: