diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/extra/last_replay | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/extra/last_replay b/bin/extra/last_replay index 5cc0dba..7029257 100755 --- a/bin/extra/last_replay +++ b/bin/extra/last_replay @@ -1,7 +1,7 @@ #!/bin/sh File="$(find ~/vids/replays -type f -printf '%Ts %p\n' | - grep -E '\.(mp4|mkv|webm)' | + grep -E '\.(mp4|mkv|webm)$' | sort -n -r | head -n 1 | cut -f 2- -d' ' | tr -d '\n')" |
