SmartLn

SmartLn creates a UNIX hard link to a file. A link allows a single file to reside in multiple directories simultaneously.

Syntax

    SmartLn [-p] sourceFile [sourceFile...] destination

Arguments -p (Obsolete option; this is now built-in behavior.) Creates the parent directory for destination if it doesn't exist.
destination The destination of the file being copied. destination must be a directory when you specify more than one sourceFile.
sourceFile The file(s) to copy.

Usage

Rather than copy files that must reside in multiple locations, the Taligent build environment uses links to save time and space. If the link fails (usually because the source and destination are on different file systems), SmartLn uses SmartCopy to make a copy instead.

SmartLn creates a destination directory if necessary.

NOTE Because SmartLn makes hard links, the source and destination files must be on the same UNIX file system.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker