Black Hole
May contain traces of nut
...but I need to feed the actual folder created into the mv command. Reading up, I see I can capture that info from standard output into a variable, but I am confused about what might or might not need to be escaped:Something like:mktemp -dp /mod/tmp $(date +"%m%d%H%M").XXX
Code:
BHTMP='mktemp -dp /mod/tmp $(date +"%m%d%H%M").XXX'
mv /mod/tmp/prev/* /mod/tmp/$BHTMP