Add script to resend XWM waypoints to example dir

This commit is contained in:
NullBite 2023-06-29 18:01:41 -04:00
parent 26510b32f7
commit 56b589f702
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

4
instance/get-waypoint.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd "$(dirname "$0")"
instance="$(basename "$(pwd)")"
find logs -type f -exec zcat -f -- '{}' + | grep xaero-waypoint | grep -ve '\[Server\]' | fzf | sed 's/^.*\(xaero-waypoint:.*\)/\1/g' | xargs -d'\n' -n1 mcserver command "$instance" say