mktemp - d code example
Example: bash create temporary folder
#!/bin/bashtmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)echo $tmp_dir # ... rm -rf $tmp_dir
#!/bin/bashtmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)echo $tmp_dir # ... rm -rf $tmp_dir