Skip to Content
gnux

--tmpdir

Interpret TEMPLATE relative to DIR; if DIR is not given, use $TMPDIR if set, else the temporary directory.

An option of mktempx.

Usage

mktempx --tmpdir[=DIR] [TEMPLATE]

Details

ShortLongValueDefaultMeaning
--tmpdirDIR (optional)interpret TEMPLATE relative to DIR; if DIR is not given, use $TMPDIR if set, else the temporary directory

Examples

Create it under the temporary directory instead

mktempx --tmpdir build.XXXXXX

Help in the terminal

gnux help mktempx --tmpdir

On this page