diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-15 10:21:33 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-15 10:21:33 +0000 |
commit | 8debc9ec9caed3bad157a258583f20cafaaa8ac7 (patch) | |
tree | c71421d9c0acfc280561f7f2e966b9eff1963a3f /fish2024/functions/forge-logins.fish | |
parent | 876d253f48fffdd89b984940abf79d4146d2d3f5 (diff) |
Adds fish 2024 version config
Diffstat (limited to 'fish2024/functions/forge-logins.fish')
-rw-r--r-- | fish2024/functions/forge-logins.fish | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fish2024/functions/forge-logins.fish b/fish2024/functions/forge-logins.fish new file mode 100644 index 0000000..67f538f --- /dev/null +++ b/fish2024/functions/forge-logins.fish @@ -0,0 +1,3 @@ +function forge-logins --description 'Get logins on forge server - provide data as 10Feb2024 as first arg.' + ssh minecraft "find ~/forge-server/logs -name \*.gz -print0|xargs -0 zgrep \"joined the game\"|grep \"$argv[1]\"|awk '{print \$1, \$2, \$6}'|cut -d\":\" -f2-|cut -d\" \" -f2-|sed 's/]//'" +end |