• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to duplicate a symLink?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: How to duplicate a symLink? (From: Lorenzo Puleo <email@hidden>)

  • Prev by Date: Re: Sheets 2
  • Next by Date: Re: Newbie reference question
  • Previous by thread: Re: How to duplicate a symLink?
  • Next by thread: how do you enter text in Symbol?
  • Index(es):
    • Date
    • Thread