The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mkdir -- create directories

SYNOPSIS

mkdir [-p] [-m mode] directory [directories ...]

DESCRIPTION

mkdir creates directories, giving it permission 0777, as modified by the current umask. Directories created in the order they are given.

OPTIONS

mkdir accepts the options described below.

-p

Create any required intermediate directories. Such directories will be created with permission 0777, as modified by the current umask. In addition, the write and execute bits for the owner of the directory will be set. If the -p option is given, existing directories will not trigger an error.

-m mode

Create the directory with permissions as indicated by mode. mode can be of any form accepted by chmod(1). Symbolic modes are relative to an initial mode of a=rwx.

ENVIRONMENT

The working of mkdir is not influenced by any environment variables.

BUGS

mkdir does not have any known bugs.

STANDARDS

This implementation of mkdir is compatible with the OpenBSD implementation, and is expected to be compatible with the IEEE Std1003.2 aka POSIX.2 implementation.

REVISION HISTORY

    $Log: mkdir,v $
    Revision 1.2  2004/08/05 14:17:43  cwest
    cleanup, new version number on website

    Revision 1.1  2004/07/23 20:10:12  cwest
    initial import

    Revision 1.3  1999/03/09 02:53:25  abigail
    Removed the comparison of $dir to '.' and '/', as that's non-portable.
    All we need to do is checking for a fixed point.

    Revision 1.2  1999/03/09 02:44:57  abigail
    Fixed SybolicMode -> SymbolicMode typo.

    Revision 1.1  1999/03/09 02:27:17  abigail
    Initial revision

AUTHOR

The Perl implementation of mkdir was written by Abigail, abigail@fnx.com.

COPYRIGHT and LICENSE

This program is copyright by Abigail 1999.

This program is free and open software. You may use, copy, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 190:

You forgot a '=back' before '=head1'