From 57085df9bedfa8dd635f230e956c1becc5bdf27c Mon Sep 17 00:00:00 2001 From: Jacob Chapman <7908073+chapmanjacobd@users.noreply.github.com> Date: Sat, 14 May 2022 12:54:23 -0500 Subject: [PATCH] add mktemp --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4ab8425..1040d07 100644 --- a/README.md +++ b/README.md @@ -3105,6 +3105,11 @@ rsync -av directory user@ip_address:/path/to/directory.bak # skip files that are newer on receiver (i prefer this one!) ``` +##### Create a temporary directory and `cd` into it +```bash +cd $(mktemp -d) +``` + ##### Make all directories at one time! ```bash mkdir -p project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat}