Browse Source

remove timestamp index trough symlink as it is messy and likely find or fzf is sufficient

Daniel Sheffield 4 months ago
parent
commit
c60b86ead9
1 changed files with 1 additions and 3 deletions
  1. 1 3
      autolog.sh

+ 1 - 3
autolog.sh

@@ -16,10 +16,8 @@ fi
 
 TIMESTAMP=$(date +%Y%m%d_%H%M%S_%N)
 LOG_DIR="$LOG_ROOT"/"$PROG"/"$SUBPROG"/"$TIMESTAMP"
-LOG_IDIR="$LOG_ROOT"/"$TIMESTAMP"/"$PROG"/"$SUBPROG"
 
-mkdir -p "$LOG_DIR" "${LOG_IDIR%/*}"
-ln -s "$LOG_DIR" "$LOG_IDIR"
+mkdir -p "$LOG_DIR"
 
 OUT="$LOG_DIR"/stdout
 ERR="$LOG_DIR"/stderr