mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 19:38:56 +08:00
03eaa4c365
* batch * Update pages/osx/sips.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> * Update pages/osx/sips.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --------- Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
606 B
606 B
mktemp
Create a temporary file or directory. More information: https://man.openbsd.org/mktemp.1.
- Create an empty temporary file and print its absolute path:
mktemp
- Use a custom directory if
$TMPDIRis not set (the default is platform-dependent, but usually/tmp):
mktemp -p /{{path/to/temporary_directory}}
- Use a custom path template (
Xs are replaced with random alphanumeric characters):
mktemp {{/tmp/example.XXXXXXXX}}
- Use a custom file name template:
mktemp -t {{example.XXXXXXXX}}
- Create an empty temporary directory and print its absolute path:
mktemp -d