Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fastcp(1) — NEXTSTEP 4.0pr1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cp(1)

ln(1)

make(1)

FASTCP(1)  —  UNIX Programmer’s Manual

NAME

fastcp − copy optimally (only if destination is missing or different)

SYNOPSIS

/usr/lib/fastcp file ... directory

DESCRIPTION

One or more files, as specified by the file argument(s), are copied into the directory. Any of the files may be directories and are copied recursively as necessary.  A file is not copied if a file by its name exists in directory and has the same size and modification time as the source file.  For each file copied, the name, mode, owner, and modification times of the file are always preserved.  Files that are not copied are also set to the same mode as the source file. 

This command is intended only for use by the ProjectBuilder makefiles in /NextDeveloper/Makefiles/app.  It is used in copying resources such as .tiff files and .nib directories into the destination wrapper directory (e.g., MissionCritical.app).  The files are copied so the entire wrapper can be tar’ed away for deployment (using ln(1) would be insufficient for some situations).  The fastcp(1) command is used, because it would be too costly to make copies of all files on every invocation of make (just in case some file might have changed).

FILES

/usr/lib/fastcp   The command - not intended for public use. 

SEE ALSO

cp(1), ln(1), make(1)

BUGS

fastcp reports some errors in non-intuitive ways.  Counter-intuitive error messages are usually due to permission problems in the source or destination areas. 

fastcp does not optimize copying of symbolically linked source files.  Linked source files will always be copied. 

fastcp always checks write permission on the destination directory, even when there is nothing to copy.  This can turn out to be a problem when different users are sharing the same development area. 
 
 
 

NeXT, Inc.  —  July 26, 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026