commit c781aacc1c73aa3acc79b352dc6e1f3585d4321a parent d9a7bef3e57b69053af12a0d6d92b17b3e0a94e1 Author: oblique <psyberbits@gmail.com> Date: Thu, 20 Jun 2013 15:23:18 +0300 Add `mplayerst' This script first sorts the files by time and then play them, useful if you want to watch your newest pr0n first. Diffstat:
A | mplayerst | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/mplayerst b/mplayerst @@ -0,0 +1,5 @@ +#!/bin/bash + +IFS=$'\n' +arr=( $(ls -1t "$@") ) +mplayer "${arr[@]}"