blob: 702925798336ddbc7adb1fceee38d839e8a07a70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
File="$(find ~/vids/replays -type f -printf '%Ts %p\n' |
grep -E '\.(mp4|mkv|webm)$' |
sort -n -r |
head -n 1 |
cut -f 2- -d' ' | tr -d '\n')"
printf '%s' "$File"
|