Files
audio-driven-face-animation/logs/latest
T
Nils Werner ab02996fd4 Unify log dir structure (#211)
* Unifiy log dir paths
* Add a little helper script `logs/latest` which can be used to quickly change into the latest log dir of a specific kind
* Update README
2021-12-03 03:42:33 +01:00

17 lines
394 B
Bash
Executable File

#!/usr/bin/env bash
# This script allows to quickly change into the latest log dir of a specific kind.
# Should be executed from project root folder.
#
# Go to latest log dir from 'runs' folder:
# cd $(logs/latest logs/runs)
#
# Go to latest log dir from 'experiments' folder:
# cd $(logs/latest logs/experiments)
set -e
set -o pipefail
find "$1" -maxdepth 2 -type d | sort -r | head -n 1