mktemp

version: 0.0.9
mktemp [OPTIONS] [template]...

create a temporary file or directory.

Options

--help, -h

Print help information

--version, -V

Print version information

--directory, -d

Make a directory instead of a file

--dry-run, -u

do not create anything; merely print a name (unsafe)

--quiet, -q

Fail silently if an error occurs.

--suffix=<SUFFIX>

append SUFFIX to TEMPLATE; SUFFIX must not contain a path separator. This option is implied if TEMPLATE does not end with X.

--tmpdir=<DIR>, -p <DIR>

interpret TEMPLATE relative to DIR; if DIR is not specified, use $TMPDIR ($TMP on windows) if set, else /tmp. With this option, TEMPLATE must not be an absolute name; unlike with -t, TEMPLATE may contain slashes, but mktemp creates only the final component

-t

Generate a template (using the supplied prefix and TMPDIR (TMP on windows) if set) to create a filename template [deprecated]