There's more than one way to do things | |
PerlMonks |
Re: Re: locate path to a file from inode numberby petral (Curate) |
on Nov 08, 2002 at 22:35 UTC ( [id://211571]=note: print w/replies, xml ) | Need Help?? |
" find / -inum XXXXXX -print "
Use   find [....] -xdev  to stay on the file system the inode number came from.    Not only is this more efficient, but if you find a file with the same inode on a different file system, it will be a different file!
  p
In Section
Seekers of Perl Wisdom
|
|