source: project/wiki/eggref/4/install @ 31256

Last change on this file since 31256 was 31256, checked in by mikele, 7 years ago
File size: 1.7 KB
Line 
1[[tags: egg]]
2
3== install
4
5[[toc:]]
6
7=== Description
8
9A Scheme implementation of the Unix utility ''install''.
10
11=== Documentation
12
13<procedure> (install-file FILES TARGET #!key OWNER GROUP (MODE 755) PRESERVE-TIME)</procedure><br>
14
15File(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.
16
17<procedure>(install-dir DIRECTORIES #!key OWNER GROUP (MODE 755))</procedure><br>
18
19Create 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.
20
21<macro>(install [-p] [-g GROUP] [-m MODE] [-o OWNER] SRC DST)</macro><br>
22<macro>(install [-p] [-g GROUP] [-m MODE] [-o OWNER] SRC ... DIR)</macro><br>
23<macro>(install      [-g GROUP] [-m MODE] [-o OWNER] -d DIR ...)</macro><br>
24
25Handy command-line-like syntax around install-file and install-directory.
26
27=== Requirements
28
29None.
30
31=== About this egg
32
33The source code is hosted at [[https://bitbucket.org/mklm/install/|Bitbucket]]. Feel free to send pull requests or open an issue there. Alternatively, send an e-mail to the [[mailto://chicken-users@nongnu.org|chicken-users]] mailing list for information or requests.
34
35==== Version History
36
37; 1.0.1 : Initial release
38
39==== Author
40
41Michele La Monaca
Note: See TracBrowser for help on using the repository browser.