Man page - shtool-mkln(1)
Packages contains this manual
- shtool-path(1)
- shtool-mkln(1)
- shtool-platform(1)
- shtool-tarball(1)
- shtool-arx(1)
- shtool-mkshadow(1)
- shtool(1)
- shtool-rotate(1)
- shtool-slo(1)
- shtool-mdate(1)
- shtool-echo(1)
- shtool-subst(1)
- shtool-scpp(1)
- shtool-install(1)
- shtool-mkdir(1)
- shtoolize(1)
- shtool-fixperm(1)
- shtool-prop(1)
- shtool-move(1)
- shtool-table(1)
- shtool-version(1)
apt-get install shtool
Manual
SHTOOL-MKLN.TMP
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
HISTORY
SEE ALSO
NAME
shtool-mkln - GNU shtool enhanced ln(1) replacement
SYNOPSIS
shtool mkln [ -t | --trace ] [ -f | --force ] [ -s | --symbolic ] src-path [ src-path ...] dst-path
DESCRIPTION
This is a ln (1) style command. It is enhanced to provide automatic calculation and usage of relative links with the shortest possible path, if possible. Usually if src-path and dst-path are not absolute paths or at least they share a common prefix except the root directory (‘‘"/"’’). When more than one src-path is specified, all of them are linked into dst-path .
OPTIONS
The following
command line options are available.
-t
,
--trace
Enable the output of the essential shell commands which are executed.
-f , --force
Force the creation of the link even if it exists. Default is to fail with error.
-s , --symbolic
Create a symbolic link instead of a hard-link.
EXAMPLE
# shell script
shtool mkln -s foo/bar baz/quux
HISTORY
The GNU shtool fixperm command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1998 for ePerl .
SEE ALSO
shtool (1), ln (1).