From fbc06f71bb91d3cc8590d1a98a4c4ce5c25700d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Tue, 7 Jan 2020 14:37:01 +0100 Subject: [PATCH] Added symlink to latest explaination --- export_lists.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/export_lists.sh b/export_lists.sh index a274056..f2b2762 100755 --- a/export_lists.sh +++ b/export_lists.sh @@ -92,5 +92,7 @@ done if [ -d explanations ] then - ./export.py --explain > "explanations/$(date -Isec).txt" + filename="$(date -Isec).txt" + ./export.py --explain > "explanations/$filename" + ln --force --symbolic "$filename" "explainations/latest.txt" fi