[plug] Identifying hard linked files [was: Identifying harded files]

Ryan ryan at is.as.geeky.as
Thu May 8 13:23:42 WST 2003


Please excuse my earlier subject day dreaming :)

*shakes head*

Ryan

------------

... and again for replying convenience:

Lo PLUG,

How does one _easily_ identify hard linked files?

Take for example a smylinked file - 'ls -l' will show it as:

-rwxrwxrwx    1 ryan    ryan      953704 Apr  2 07:40 file1 -> file2


Now hard linked files - 'ls -li' will show it as:

618955 -rwxrwxrwx    1 ryan    ryan     953704 Apr  2 07:40 file1
618955 -rwxrwxrwx    1 ryan    ryan     953704 Apr  2 07:40 file2


In a big long list, the only way is to match up the inode numbers, which
is rather labour intensive.

Is there any other way to find hard linked files in a directory - the
purpose being to identify quickly for my eyes that the file is not
actually another REAL file taking up storage space.

TIA,

Ryan



More information about the plug mailing list