Re: backup and restore of common attributes like backup time creation time etc.
Re: backup and restore of common attributes like backup time creation time etc.
- Subject: Re: backup and restore of common attributes like backup time creation time etc.
- From: Terry Lambert <email@hidden>
- Date: Thu, 14 May 2009 02:43:53 -0700
On May 12, 2009, at 10:40 PM, rohan a wrote:
Hello,
I use getattrlist() and setattrlist() to backup/restore
ATTR_CMN_CRTIME, ATTR_CMN_BKUPTIME, ATTR_CMN_FNDRINFO, ATTR_CMN_FLAGS
and ATTR_CMN_SCRIPT.
creation time and finder info can be checked using /Developer/Tools/
GetFileInfo
BSD flags using ls -lo <filename>
How do I check if the backup time and text encoding hint have been
restored properly?
Call getattrlist() on what you just called setattrlist() on, and
compare the results.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden