summaryrefslogtreecommitdiff
path: root/macros/plain/contrib/pdcmac/pmkdir.1
blob: 88ed4e46cf90047dfa8cb387c4106a1366be54ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.TH PMKDIR 1 "Time-stamp: <pdc 1995-03-27>" "PDCMAC 1.0" "CONTRIBUTED SOFTWARE"
.SH NAME
pmkdir \- make a directory and possibly its parents as well
.SH SYNOPSIS
.na
.B pmkdir
[
.B \-\-no\-create
] [
.BI \-\-group= groupname
] [
.BI \-\-owner= username
] [
.BI \-\-mode= mode
]
.I dir\|.\|.\|.
.br
.BR pmkdir
.B \-\-help
|
.B \-\-version
.SH DESCRIPTION
.na 
This documents the
.SM PDCMAC
version of
.IR mkdirhier (1),
called
.IR pmkdir .
.PP
For each 
.I dir
this creates a directory with that file name.
Unlike
.IR mkdir (1),
any intermediate directories required will also be
created.
.PP
This command is implemented as a shellscript.
.SH OPTIONS
.TP
.BI \-\-group= "groupname, " "\-g " groupname
.PD 0v
.TP
.BI \-\-owner= "username, " "\-o " username
.TP
.BI \-\-mode= "mode, " "\-m " mode
.PD
Set the group, owner or mode for the new files (using the same
conventions as
.IR chgrp (1),
.IR chown (1),
and
.IR chmod (1)
respectively).
Only root can combine changes of mode and group.
.TP
.BR \-\-help ", " \-h
Print a usage message and exit.
.TP
.BR \-\-no\-create ", " \-n
Do not copy files; instead print the commands that would have been performed.
.TP
.BR \-\-version ", " \-V
Print a version identification message and exit.
.SH ENVIRONMENT
.TP
.SM GROUP
.PD 0v
.TP
.SM OWNER
.TP
.SM MODE
.PD
The values of these variables are used if the corresponding command-line
options are omitted.
.SH AUTHOR
P. Damian Cugley
.I damian.cugley@comlab.ox.ac.uk
.SH "SEE ALSO"
pinstall(1), chgrp(1), chown(1), chmod(1), mkdir(1), mkdirhier(1)