Re: NSFileManager and aliases
Re: NSFileManager and aliases
- Subject: Re: NSFileManager and aliases
- From: Charles Srstka <email@hidden>
- Date: Mon, 15 Apr 2002 22:26:25 -0500
It's actually easier than this. You can put the original app in the
trash without worry, as long as you empty the trash soon. The alias
doesn't actually start pointing to the new location as soon as you move
the file - it actually updates the next time you try to open that alias.
So if you move the app to the trash, move the new one in its old place,
then empty, and do all this before the next time you double-click on the
alias, it will work just fine.
On Monday, April 15, 2002, at 09:51 PM, Rosyna wrote:
This can be addressed semi-easily. Just drag the updated application on
top of the folder containing the old one and click replace. Once you
move the file to the trash, the alias starts pointing to the new
location. This is a feature, not a bug. Imagine if a user moves the
application, then sticks a file/folder with the old name in the same
place as it used to be.
And hardlinks don't work across volumes, symlinks do.
Ack, at 4/15/02, Erik M. Buck said:
- Symlinks work well in network environments with multiple network
volumes.
For example, a sys-admin can install an update of an application and
every
user's symlinks automatically point to the update. With aliases, this
is not
so easy. The admin may have to log into every users machine to update
aliases and the admin may not even know all the aliases that users have
created.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
---
Please include any previous correspondence in replies, it helps me
remember what we were talking about.
Thanks. _______________________________________________
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.
_______________________________________________
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.