Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Finding Hard linksby Ultra (Hermit) |
on Nov 08, 2005 at 06:40 UTC ( [id://506623]=note: print w/replies, xml ) | Need Help?? |
Basically "hard link files" are not different files, there is just one file, and the other file names point to the same file. So, your problem is not finding "the files" but finding the names. This may be a little tricky, and here's why: The tricky part is that there may be hard links that your user can't access (directory/file permissions etc.) I don't know if there is a CPAN module for this, but using File::Find and stat you could create one yourself ;-)
Dodge This!
In Section
Seekers of Perl Wisdom
|
|