Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod1 / symlink_remove.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3symlink_remove - Remove a symbolic link [Windows only]
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<symlink remove> S<<< [B<-name>] <I<file name>> >>> [B<-help>]
11
12=for html
13</div>
14
15=head1 DESCRIPTION
16
17The B<symlink remove> command removes a symbolic link to a file.
18
19=head1 CAUTIONS
20
21The B<symlink> commands are only available on Windows platforms. On other
22platforms, use the B<rm> command.
23
24=head1 OPTIONS
25
26=over 4
27
28=item [B<-name>] <I<file name>>
29
30Specify one or more symbolic links to remove. The B<-name> is optional, but
31the file name is not.
32
33=item B<-help>
34
35Prints the online help for this command. All other valid options are
36ignored.
37
38=back
39
40=head1 OUTPUT
41
42This command has no output except error and help messages. If the command
43is passed a real file instead of a symlink, it prints "symlink: 'file name'
44is not a symlink" instead of removing the file.
45
46=head1 EXAMPLES
47
48Given that file C<mylink> is a link pointing to file C<myfile>, the
49following commands will remove the link C<mylink>:
50
51 % symlink remove -name mylink
52 % symlink remove mylink
53
54=head1 PRIVILEGE REQUIRED
55
56The issuer must have the C<l> (look) and C<d> (delete) permissions on
57the ACL of the directory that houses the symlink.
58
59=head1 SEE ALSO
60
61L<symlink(1)>,
62L<symlink_list(1)>,
63L<symlink_make(1)>
64
65=head1 COPYRIGHT
66
67Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
68
69This documentation is covered by the BSD License as written in the
70doc/LICENSE file. This man page was written by Jason Edgecombe for
71OpenAFS.