![]() |
![]() |
![]() |
|
![]() | |
![]() |
![]() |
![]() |
![]() |
![]() |
Log In | Not a Member? |
Support
![]() |
![]() |
SYNTAX ResolveAlias alias1 [alias2]… [-q] [-v] DESCRIPTION The ResolveAlias command evaluates pathnames containing Finder aliases to produce a valid MPW pathname. ResolveAlias may mount file servers if necessary to resolve a pathname. If there are no Finder aliases in the specified pathnames, then the original pathnames are returned. INPUT Does not accept standard input. OUTPUT ResolveAlias writes the resolved pathnames to standard output. ALIAS RESOLUTION This command resolves all Finder aliases, including both leaf aliases and embedded aliases. STATUS
ResolveAlias can return the following status codes:
PARAMETERS alias1 [alias2]… Specifies one or more pathnames that may include Finder aliases. A Finder alias is created by using the Make Alias menu item in the Finder's File menu. OPTIONS -q Doesn't place quotation marks around the output. -v
Includes file sharing information, that is, zone and server names, in EXAMPLES This command is useful in resolving Finder aliases for tools or built-in commands without the capacity to resolve leaf aliases in pathnames. For instance, the Delete command does not resolve leaf aliases (to avoid a potentially destructive activity), so the line delete myAlias actually deletes the Finder alias file myAlias. Using the ResolveAlias command, you can resolve the Finder alias first in the command line delete `resolveAlias myAlias` This command line then deletes the target file of the Finder alias instead of the Finder alias file itself. SEE ALSO The discussion in "Alias Resolution" in the Preface
|