Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / bos_getdate.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3bos_getdate - Displays the time stamps on an AFS binary file
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<bos getdate> S<<< B<-server> <I<machine name>> >>> S<<< B<-file> <I<files to check>>+ >>>
11 S<<< [B<-dir> <I<destination dir>>] >>> S<<< [B<-cell> <I<cell name>>] >>>
12 [B<-noauth>] [B<-localauth>] [B<-help>]
13
14B<bos getd> S<<< B<-s> <I<machine name>> >>> S<<< B<-f> <I<files to check>>+ >>>
15 S<<< [B<-d> <I<destination dir>>] >>> S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>]
16 [B<-h>]
17
18=for html
19</div>
20
21=head1 DESCRIPTION
22
23The B<bos getdate> command displays the time stamps on the current
24version,C< .BAK> version (if any) and C<.OLD> version (if any) of each
25binary file named by the B<-file> argument. (The BOS Server automatically
26creates C<.BAK> and C<.OLD> versions when new binaries are installed with
27the B<bos install> command.) The files must reside in the F</usr/afs/bin>
28directory on the server machine named by the B<-server> argument unless
29the B<-dir> argument indicates an alternate directory.
30
31To revert to the C<.BAK> version of a binary, use the B<bos uninstall>
32command. To remove obsolete binary files from the F</usr/afs/bin>
33directory, use the B<bos prune> command.
34
35=head1 OPTIONS
36
37=over 4
38
39=item B<-server> <I<machine name>>
40
41Indicates the server machine from which to list binary files. Identify
42the machine by IP address or its host name (either fully-qualified or
43abbreviated unambiguously). For details, see L<bos(8)>.
44
45All server machines of the same AFS system type show the same timestamps
46if the binaries were installed properly on the binary distribution machine
47for this machine's system type, and if all other machines of that type are
48running the appropriate C<upclientbin> process.
49
50=item B<-file> <I<files to check>>+
51
52Names each binary file to list.
53
54=item B<-dir> <I<destination dir>>
55
56Specifies the complete pathname of the local disk directory containing
57each file named by the B<-file> argument. It is necessary only if the
58files are not in the F</usr/afs/bin> directory.
59
60=item B<-cell> <I<cell name>>
61
62Names the cell in which to run the command. Do not combine this argument
63with the B<-localauth> flag. For more details, see L<bos(8)>.
64
65=item B<-noauth>
66
67Assigns the unprivileged identity C<anonymous> to the issuer. Do not
68combine this flag with the B<-localauth> flag. For more details, see
69L<bos(8)>.
70
71=item B<-localauth>
72
73Constructs a server ticket using a key from the local
74F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file.
75The B<bos> command interpreter presents the
76ticket to the BOS Server during mutual authentication. Do not combine this
77flag with the B<-cell> or B<-noauth> options. For more details, see
78L<bos(8)>.
79
80=item B<-help>
81
82Prints the online help for this command. All other valid options are
83ignored.
84
85=back
86
87=head1 OUTPUT
88
89For each file specified with the -file argument, the output displays the
90time stamp on the current (unmarked), C<.BAK>, and C<.OLD> version. The
91output explicitly reports that a version does not exist, rather than
92simply omitting it.
93
94=head1 EXAMPLES
95
96The following command examines the time stamps on the files with basename
97C<kaserver> on the machine C<fs2.example.com>:
98
99 % bos getdate -server fs2.example.com -file kaserver
100 File /usr/afs/bin/kaserver dated Mon Jan 4 10:00:36 1999.
101 .BAK file dated Wed Dec 9 18:55:04 1998, no .OLD file.
102
103=head1 PRIVILEGE REQUIRED
104
105None
106
107=head1 SEE ALSO
108
109L<KeyFile(5)>,
110L<KeyFileExt(5)>,
111L<bos(8)>,
112L<bos_install(8)>,
113L<bos_prune(8)>,
114L<bos_uninstall(8)>
115
116=head1 COPYRIGHT
117
118IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
119
120This documentation is covered by the IBM Public License Version 1.0. It was
121converted from HTML to POD by software written by Chas Williams and Russ
122Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.