Black Hole
May contain traces of nut
Okay, so here's my s99logcap:
...but although it creates temp folders, they're empty and the files are still in /mod/tmp/prev.
Code:
#!/bin/sh
BHTMP=$(mktemp -dp /mod/tmp "$(date +"%m%d%H%M").XXX")
for f in /mod/tmp/prev/* ; do
[ -f "$f" ] && mv "/mod/tmp/prev/$f" "$BHTMP/"
done