Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
A script I am working on needs to process files returned from the find command. However, many of those files are hard links to other files, and should be excluded from our processing. How do we identify those files that are actually hard links, so we can exclude them. NOTE: We know how to exlude symbolic links, so please answer only if you know how to identify HARD links.
Summary: I have a directory old and a directory new. The files in these directories are "hard" linked. When I get newer files...The new files are moved to the old directory and the files in the new directory a...
Summary: Learning perl from O'reilly covers this in more detail. Basically, the stat function returns a 13-element list giving the status info for a file. ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $ati...