OSDN Git Service

Update translations: chroot, csplit, dd, du, pwd
[linuxjm/coreutils.git] / original / man1 / mktemp.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
2 .TH MKTEMP "1" "January 2016" "GNU coreutils 8.25" "User Commands"
3 .SH NAME
4 mktemp \- create a temporary file or directory
5 .SH SYNOPSIS
6 .B mktemp
7 [\fI\,OPTION\/\fR]... [\fI\,TEMPLATE\/\fR]
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
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.
14 Files are created u+rw, and directories u+rwx, minus umask restrictions.
15 .TP
16 \fB\-d\fR, \fB\-\-directory\fR
17 create a directory, not a file
18 .TP
19 \fB\-u\fR, \fB\-\-dry\-run\fR
20 do not create anything; merely print a name (unsafe)
21 .TP
22 \fB\-q\fR, \fB\-\-quiet\fR
23 suppress diagnostics about file/dir\-creation failure
24 .TP
25 \fB\-\-suffix\fR=\fI\,SUFF\/\fR
26 append SUFF to TEMPLATE; SUFF must not contain a slash.
27 This option is implied if TEMPLATE does not end in X
28 .TP
29 \fB\-p\fR DIR, \fB\-\-tmpdir\fR[=\fI\,DIR\/\fR]
30 interpret TEMPLATE relative to DIR; if DIR is not
31 specified, use $TMPDIR if set, else \fI\,/tmp\/\fP.  With
32 this option, TEMPLATE must not be an absolute name;
33 unlike with \fB\-t\fR, TEMPLATE may contain slashes, but
34 mktemp creates only the final component
35 .TP
36 \fB\-t\fR
37 interpret TEMPLATE as a single file name component,
38 relative to a directory: $TMPDIR, if set; else the
39 directory specified via \fB\-p\fR; else \fI\,/tmp\/\fP [deprecated]
40 .TP
41 \fB\-\-help\fR
42 display this help and exit
43 .TP
44 \fB\-\-version\fR
45 output version information and exit
46 .SH AUTHOR
47 Written by Jim Meyering and Eric Blake.
48 .SH "REPORTING BUGS"
49 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
50 .br
51 Report mktemp translation bugs to <http://translationproject.org/team/>
52 .SH COPYRIGHT
53 Copyright \(co 2016 Free Software Foundation, Inc.
54 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
55 .br
56 This is free software: you are free to change and redistribute it.
57 There is NO WARRANTY, to the extent permitted by law.
58 .SH "SEE ALSO"
59 mkstemp(3), mkdtemp(3), mktemp(3)
60 .PP
61 .br
62 Full documentation at: <http://www.gnu.org/software/coreutils/mktemp>
63 .br
64 or available locally via: info \(aq(coreutils) mktemp invocation\(aq