lua-users home
lua-l archive

Re: How to detect symlinks?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Apr 30, 2012 at 1:16 AM, Rena <hyperhacker@gmail.com> wrote:
> On Mon, Apr 30, 2012 at 00:11, Jeff Pohlmeyer <yetanothergeek@gmail.com> wrote:
>> It also looks like the "mode" string for symlinkattributes will
>> return "link" for symbolic links
> Ah, did I miss that or is it not documented?
It's more-or-less documented, but the docs really don't explain if the
string "link" refers to hard or symbolic links, or that it only works
with symlinkattributes.
> I'm iterating a filesystem recursively, comparing backups to the
> original files to verify integrity.
I usually just use "diff -rq" for that.
 - Jeff

AltStyle によって変換されたページ (->オリジナル) /