In Mac Panther, How Can I Delete The Targets of a Folder of Aliases? Applescript?
Posted on 2005-04-27
I have a folder of 7,000 aliases.
I need to delete the targets of these aliases.
EXTRA CREDIT (but not needed to win the points, )
Ideally, I'd like the alias deleted after its target is successfully found and deleted. That way I can see what aliases had no targets.
All of the targets are local, i.e., none are across a network.
Some aliases are broken.
Norton Disk Doctor made the folder of aliases to these files, which have damaged resources and therefore cannot be repaired and must be removed. As the alert reader can infer, I am in deep, deep trouble. Maybe later I can write upo the problem of never ending file corruption, but I don't have the strength to do that now. I have deadlines...
WHAT DOESN'T WORK FOR ME
Simply selecting a group and pressing Cmd R is not helpful, because alot of windows open that I have to go through one at a time. Also, if a target is not found for one item in a group, I get no feedback and can;t be sure of the result.
FileBuddy seems like it should have this functionality, but I can't see that it does.
I know how to make an Applescript and run it if given the code, but I'd need to be walked through any other kind of script.