Alias Files
Alias Files
- Subject: Alias Files
- From: Luther Fuller <email@hidden>
- Date: Wed, 12 Sep 2007 12:21:50 -0500
I ran into a problem late yesterday. I'll spare you all the gory
details and offer this problem instead ...
A folder contains two files exactly, one of the files is an alias file
pointing to the other file. Write a script that will remove ONLY
the alias file from this folder.
If the alias file was created by Mac OS X, then the problem is easy
to solve. Ask the Finder for a list of the contents of the folder,
then find and delete the item whose 'class of item ...' is 'alias file'.
But, what if the alias file is a symlink? (The folders I'm actually
dealing with are from an ISO 9660 CD)
I'm thinking that it can't be done.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden