Make a temporary directory in a script that works on MacOS X and Linux


mytmpdir=`mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir'`

source

Date: 2017-07-05

Tags:  bash

Share: