Hi all,
I am writing a small backup utility in Mac OS X using C.
I am stuck up with aliases and trying to find out how they should be backed up.
I read that the aliases are empty files and they store their content in the resource forks
I also read that aliases need to be handled using the Alias Manager / Carbon API
In order to backup aliases, should it suffice if I read the data and resource forks of the alias and backup them up?
On restoring the alias along with its resource fork, will it again be interpreted as an alias ?
Also, I will be backing up resource forks of all files hence I need not identify aliases seperately
I am writing a small backup utility in Mac OS X using C.
I am stuck up with aliases and trying to find out how they should be backed up.
I read that the aliases are empty files and they store their content in the resource forks
I also read that aliases need to be handled using the Alias Manager / Carbon API
In order to backup aliases, should it suffice if I read the data and resource forks of the alias and backup them up?
On restoring the alias along with its resource fork, will it again be interpreted as an alias ?
Also, I will be backing up resource forks of all files hence I need not identify aliases seperately