Re: How to duplicate a symLink?
Re: How to duplicate a symLink?
- Subject: Re: How to duplicate a symLink?
- From: Chris Ridd <email@hidden>
- Date: Wed, 15 May 2002 17:22:33 +0100
Lorenzo Puleo <email@hidden> wrote:
>
> Message: 10
>
> Date: Wed, 15 May 2002 11:25:57 +0100
>
> From: Chris Ridd <email@hidden>
>
> To: email@hidden
>
> Subject: Re: How to duplicate a symLink?
>
>
>
> Lorenzo Puleo <email@hidden> wrote:
>
>> Hi,
>
>> how to duplicate a symLink?
>
>> I mean, same size, same unix permissions, same owner, same
>
>> creation/modification/backup dates, same locked flag...
>
>
>
> I don't imagine that you will be able to control the inode create time on
>
> the new symlink...
>
>
>
> Can't you use lstat() to read the original symlink?
>
>
>
> Cheers,
>
>
>
> Chris
>
Because I don't know what it is.
That's a good reason!
>
May you explain how I can use that?
>
I already can read the content of a symLink. Instead I need to read its
>
modification date, creation date, backup date, locked flag and invisible
>
flag.
>
>
Which way should I use lstat() ?
Since it is a POSIX library call, try 'man lstat' in Terminal. It is pretty
easy to use.
Are the "locked" or "invisible" flags HFS things? I don't know how you'd
get that information..
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.