LN(1)

NAME
ln, clone - create a link to a file

SYNOPSIS
ln [-ifmrRvx] file [name]
ln [-ifrRvx] file ... dir
clone [-ifmvx] file [name]

OPTIONS

EXAMPLES

DESCRIPTION

A directory entry is created for name . The entry points to file . Henceforth, name and file can be used interchangeably. If name is not supplied, the last component of file is used as the link name. If more than one file is supplied or the name refers to an existing directory, links will be created in that directory. An existing name will not be removed unless the -i or -f flag is specified.

Clone is a convenient synonym for ln -fmr to create a so-called "link farm", a directory full of links to the original tree.

SEE ALSO
cp(1), link(2), unlink(2).