1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH MKTEMP "1" "April 2010" "GNU coreutils 8.5" "User Commands"
4 mktemp \- create a temporary file or directory
7 [\fIOPTION\fR]... [\fITEMPLATE\fR]
9 .\" Add any additional description here
11 Create a temporary file or directory, safely, and print its name.
12 TEMPLATE must contain at least 3 consecutive `X's in last component.
13 If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and \fB\-\-tmpdir\fR is implied.
15 \fB\-d\fR, \fB\-\-directory\fR
16 create a directory, not a file
18 \fB\-u\fR, \fB\-\-dry\-run\fR
19 do not create anything; merely print a name (unsafe)
21 \fB\-q\fR, \fB\-\-quiet\fR
22 suppress diagnostics about file/dir\-creation failure
24 \fB\-\-suffix\fR=\fISUFF\fR
25 append SUFF to TEMPLATE. SUFF must not contain slash.
26 This option is implied if TEMPLATE does not end in X.
28 \fB\-\-tmpdir\fR[=\fIDIR\fR]
29 interpret TEMPLATE relative to DIR. If DIR is not
30 specified, use $TMPDIR if set, else /tmp. With
31 this option, TEMPLATE must not be an absolute name.
32 Unlike with \fB\-t\fR, TEMPLATE may contain slashes, but
33 mktemp creates only the final component
36 use DIR as a prefix; implies \fB\-t\fR [deprecated]
39 interpret TEMPLATE as a single file name component,
40 relative to a directory: $TMPDIR, if set; else the
41 directory specified via \fB\-p\fR; else /tmp [deprecated]
44 display this help and exit
47 output version information and exit
49 Written by Jim Meyering and Eric Blake.
51 Report mktemp bugs to bug\-coreutils@gnu.org
53 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
55 General help using GNU software: <http://www.gnu.org/gethelp/>
57 Report mktemp translation bugs to <http://translationproject.org/team/>
59 Copyright \(co 2010 Free Software Foundation, Inc.
60 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
62 This is free software: you are free to change and redistribute it.
63 There is NO WARRANTY, to the extent permitted by law.
65 mkstemp(3), mkdtemp(3), mktemp(3)
67 The full documentation for
69 is maintained as a Texinfo manual. If the
73 programs are properly installed at your site, the command
75 .B info coreutils \(aqmktemp invocation\(aq
77 should give you access to the complete manual.