version 3, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
LN |
| |
|
2 |
!!!LN |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
AUTHOR |
| |
|
7 |
REPORTING BUGS |
| |
|
8 |
COPYRIGHT |
| |
|
9 |
SEE ALSO |
| |
|
10 |
---- |
| |
|
11 |
!!NAME |
| |
|
12 |
|
| |
|
13 |
|
| |
|
14 |
ln - make links between files |
| |
|
15 |
!!SYNOPSIS |
| |
|
16 |
|
| |
|
17 |
|
| |
|
18 |
__ln__ [[''OPTION'']... ''TARGET'' |
| |
|
19 |
[[''LINK_NAME'']__ |
| |
|
20 |
ln__ [[''OPTION'']... ''TARGET''... |
| |
|
21 |
''DIRECTORY''__ |
| |
|
22 |
ln__ [[''OPTION'']... ''--target-directory=DIRECTORY |
| |
|
23 |
TARGET''... |
| |
|
24 |
!!DESCRIPTION |
| |
|
25 |
|
| |
|
26 |
|
| |
|
27 |
Create a link to the specified TARGET with optional |
| |
|
28 |
LINK_NAME. If LINK_NAME is omitted, a link with the same |
| |
|
29 |
basename as the TARGET is created in the current directory. |
| |
|
30 |
When using the second form with more than one TARGET, the |
| |
|
31 |
last argument must be a directory; create links in DIRECTORY |
| |
|
32 |
to each TARGET. Create hard links by default, symbolic links |
| |
|
33 |
with __--symbolic__. When creating hard links, each |
| |
|
34 |
TARGET must exist. |
| |
|
35 |
|
| |
|
36 |
|
| |
|
37 |
__--backup__[[=''CONTROL''] |
| |
|
38 |
|
| |
|
39 |
|
| |
|
40 |
make a backup of each existing destination file |
| |
|
41 |
|
| |
|
42 |
|
| |
|
43 |
__-b__ |
| |
|
44 |
|
| |
|
45 |
|
| |
|
46 |
like __--backup__ but does not accept an |
| |
|
47 |
argument |
| |
|
48 |
|
| |
|
49 |
|
| |
|
50 |
__-d__, __-F__, __--directory__ |
| |
|
51 |
|
| |
|
52 |
|
| |
|
53 |
hard link directories (super-user only) |
| |
|
54 |
|
| |
|
55 |
|
| |
|
56 |
__-f__, __--force__ |
| |
|
57 |
|
| |
|
58 |
|
| |
|
59 |
remove existing destination files |
| |
|
60 |
|
| |
|
61 |
|
| |
|
62 |
__-n__, __--no-dereference__ |
| |
|
63 |
|
| |
|
64 |
|
| |
|
65 |
treat destination that is a symlink to a directory as if it |
| |
|
66 |
were a normal file |
| |
|
67 |
|
| |
|
68 |
|
| |
|
69 |
__-i__, __--interactive__ |
| |
|
70 |
|
| |
|
71 |
|
| |
|
72 |
prompt whether to remove destinations |
| |
|
73 |
|
| |
|
74 |
|
| |
|
75 |
__-s__, __--symbolic__ |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
make symbolic links instead of hard links |
| |
|
79 |
|
| |
|
80 |
|
| |
|
81 |
__-S__, __--suffix__=''SUFFIX'' |
| |
|
82 |
|
| |
|
83 |
|
| |
|
84 |
override the usual backup suffix |
| |
|
85 |
|
| |
|
86 |
|
| |
|
87 |
__--target-directory__=''DIRECTORY'' |
| |
|
88 |
|
| |
|
89 |
|
| |
|
90 |
specify the DIRECTORY in which to create the |
| |
|
91 |
links |
| |
|
92 |
|
| |
|
93 |
|
| |
|
94 |
__-v__, __--verbose__ |
| |
|
95 |
|
| |
|
96 |
|
| |
|
97 |
print name of each file before linking |
| |
|
98 |
|
| |
|
99 |
|
| |
|
100 |
__--help__ |
| |
|
101 |
|
| |
|
102 |
|
| |
|
103 |
display this help and exit |
| |
|
104 |
|
| |
|
105 |
|
| |
|
106 |
__--version__ |
| |
|
107 |
|
| |
|
108 |
|
| |
|
109 |
output version information and exit |
| |
|
110 |
|
| |
|
111 |
|
| |
|
112 |
The backup suffix is `~', unless set with __--suffix__ or |
| |
|
113 |
SIMPLE_BACKUP_SUFFIX. The version control method may be |
| |
|
114 |
selected via the __--backup__ option or through the |
| |
|
115 |
VERSION_CONTROL environment variable. Here are the |
| |
|
116 |
values: |
| |
|
117 |
|
| |
|
118 |
|
| |
|
119 |
none, off |
| |
|
120 |
|
| |
|
121 |
|
| |
|
122 |
never make backups (even if __--backup__ is |
| |
|
123 |
given) |
| |
|
124 |
|
| |
|
125 |
|
| |
|
126 |
numbered, t |
| |
|
127 |
|
| |
|
128 |
|
| |
|
129 |
make numbered backups |
| |
|
130 |
|
| |
|
131 |
|
| |
|
132 |
existing, nil |
| |
|
133 |
|
| |
|
134 |
|
| |
|
135 |
numbered if numbered backups exist, simple |
| |
|
136 |
otherwise |
| |
|
137 |
|
| |
|
138 |
|
| |
|
139 |
simple, never |
| |
|
140 |
|
| |
|
141 |
|
| |
|
142 |
always make simple backups |
| |
|
143 |
!!AUTHOR |
| |
|
144 |
|
| |
|
145 |
|
| 2 |
perry |
146 |
Written by Mike Parker and David !MacKenzie. |
| 1 |
perry |
147 |
!!REPORTING BUGS |
| |
|
148 |
|
| |
|
149 |
|
| |
|
150 |
Report bugs to |
| |
|
151 |
!!COPYRIGHT |
| |
|
152 |
|
| |
|
153 |
|
| |
|
154 |
Copyright 2001 Free Software Foundation, Inc. |
| |
|
155 |
This is free software; see the source for copying |
| |
|
156 |
conditions. There is NO warranty; not even for |
| |
|
157 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| |
|
158 |
PURPOSE. |
| |
|
159 |
!!SEE ALSO |
| |
|
160 |
|
| |
|
161 |
|
| |
|
162 |
The full documentation for __ln__ is maintained as a |
| |
|
163 |
Texinfo manual. If the __info__ and __ln__ programs |
| |
|
164 |
are properly installed at your site, the |
| |
|
165 |
command |
| |
|
166 |
|
| |
|
167 |
|
| |
|
168 |
__info ln__ |
| |
|
169 |
|
| |
|
170 |
|
| |
|
171 |
should give you access to the complete manual. |
| |
|
172 |
---- |
| 3 |
StuartYeates |
173 |
|
| |
|
174 |
See also: [SymLink] |