jcb has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (files)
On POSIX systems, and possibly others, a file can have multiple names (known as hardlinks) or can itself contain the name of another file in such a way that the system substitutes that other file for most operations on a file (these are symlinks). For various platforms, are similar features available, and, if so, how best to determine if two seemingly different names are in fact the same file?
This question was also asked in Seekers of Perl Wisdom as Portable way to determine if two names refer to the same file?. The discussion there may also be of interest.
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I portably determine if two filenames refer to the same file?⭐
by jcb (Parson) on Aug 16, 2019 at 03:40 UTC |