You are looking at historical revision 31253 of this page. It may differ significantly from its current revision.

install

Description

A Scheme implementation of the Unix utility install.

Author

Michele La Monaca.

Requirements

None.

Documentation

[procedure] (install-file FILES TARGET #!key OWNER GROUP (MODE 755) PRESERVE-TIME)

File(s) are copied to the target file or directory. If the destination is a directory, then the file is copied into the directory with its original filename. If the target file already exists, it is overwritten if permissions allow. install attempts to prevent installing a file onto itself. Installing /dev/null (nul on Windows) creates an empty file. mode must be expressed in octal notation; mode, owner and group are ignored on Windows. The return value is unspecified.

[procedure] (install-dir DIRECTORIES #!key OWNER GROUP (MODE 755))

<br/>

Create all components of the given directory(ies). mode must be expressed in octal notation; mode, owner and group are ignored on Windows. The return value is unspecified.