2007-08-18 00:35:44 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
pts_source - Read pts commands from a file
|
2007-08-18 00:35:44 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
|
|
|
B<pts source> S<<< [B<-file>] <I<file name>> >>> S<<< [B<-cell>] <I<cell name>> >>>
|
2008-02-04 19:41:49 +00:00
|
|
|
[B<-noauth>] [B<-localauth>] [B<-force>]
|
2007-08-18 00:35:44 +00:00
|
|
|
|
|
|
|
B<pts so> S<<< [B<-f>] <I<file name>> >>> S<<< [B<-c>] <I<cell name>> >>>
|
2008-02-04 19:41:49 +00:00
|
|
|
[B<-n>] [B<-l>] [B<-f>]
|
2007-08-18 00:35:44 +00:00
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
The B<pts source> runs commands from a file as if they were typed in B<pts
|
|
|
|
interactive> mode. The command can be run from the command line or
|
|
|
|
interactively.
|
|
|
|
|
|
|
|
=head1 CAUTIONS
|
|
|
|
|
|
|
|
Prior to OpenAFS 1.4.5 and OpenAFS 1.5.23, the B<pts source> command was
|
|
|
|
only available on Unix or Linux and when OpenAFS was compiled with the
|
|
|
|
supergroups option (disabled by default). As of OpenAFS 1.4.5 and 1.5.23,
|
|
|
|
it is always available.
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
B<pts source> takes the following options:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2010-07-15 17:21:26 -07:00
|
|
|
=include fragments/pts-common.pod
|
2008-02-04 19:41:49 +00:00
|
|
|
|
2007-08-18 00:35:44 +00:00
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OUTPUT
|
|
|
|
|
2009-12-30 20:30:27 -08:00
|
|
|
This command shows the output of each command in the file as if it were
|
2007-08-18 00:35:44 +00:00
|
|
|
run normally.
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
Here is an example of using B<pts source> in a B<pts interactive> session:
|
|
|
|
|
|
|
|
% echo examine admin > /tmp/commands.txt
|
|
|
|
% pts interactive
|
|
|
|
pts> source /tmp/commands.txt
|
|
|
|
Name: admin, id: 1, owner: system:administrators, creator: anonymous,
|
|
|
|
membership: 2, flags: S----, group quota: 20.
|
|
|
|
pts> quit
|
|
|
|
%
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<pts(1)>,
|
|
|
|
L<pts_interactive(1)>,
|
|
|
|
L<pts_quit(1)>,
|
|
|
|
L<pts_sleep(1)>
|
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
|
|
|
|
|
2007-12-25 22:22:22 +00:00
|
|
|
This documentation is covered by the BSD License as written in the
|
|
|
|
doc/LICENSE file. This man page was written by Jason Edgecombe for
|
|
|
|
OpenAFS.
|