Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

bash clean-up code 2

#!/bin/bash
scratch=$(mktemp -d -t tmp.XXXXXXXXXX)
function finish {
  rm -rf "$scratch"
}
trap finish EXIT
Source by redsymbol.net #
 
PREVIOUS NEXT
Tagged: #bash #code
ADD COMMENT
Topic
Name
3+7 =