1SHTOOL-MKLN.TMP(1) GNU Portable Shell Tool SHTOOL-MKLN.TMP(1)
2
3
4
6 shtool mkln - GNU shtool enhanced ln(1) replacement
7
9 shtool mkln [-t|--trace] [-f|--force] [-s|--symbolic] src-path [src-
10 path ...] dst-path
11
13 This is a ln(1) style command. It is enhanced to provide automatic
14 calculation and usage of relative links with the shortest possible
15 path, if possible. Usually if src-path and dst-path are not absolute
16 paths or at least they share a common prefix except the root directory
17 (``"/"''). When more than one src-path is specified, all of them are
18 linked into dst-path.
19
21 The following command line options are available.
22
23 -t, --trace
24 Enable the output of the essential shell commands which are
25 executed.
26
27 -f, --force
28 Force the creation of the link even if it exists. Default is to
29 fail with error.
30
31 -s, --symbolic
32 Create a symbolic link instead of a hard-link.
33
35 # shell script
36 shtool mkln -s foo/bar baz/quux
37
39 The GNU shtool fixperm command was originally written by Ralf S.
40 Engelschall <rse@engelschall.com> in 1998 for ePerl.
41
43 shtool(1), ln(1).
44
45
46
4718-Jul-2008 shtool 2.0.8 SHTOOL-MKLN.TMP(1)