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
This commit is contained in:
Nils Werner authored and GitHub committed 2021-12-03 03:42:33 +01:00
1 parent 6cbf168156
commit ab02996fd4
6 files changed
+62 -42

No files matched your search

Executable
+16
View File
@@ -0,0 +1,16 @@
#!/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