vid: webm added as video type.
This commit is contained in:
parent
3a442b63ce
commit
d50331065e
2
vid/vid
2
vid/vid
|
@ -67,7 +67,7 @@ B<G>
|
||||||
stdin() {
|
stdin() {
|
||||||
if tty -s ; then
|
if tty -s ; then
|
||||||
# STDIN is terminal
|
# STDIN is terminal
|
||||||
find . -iregex '.*\(rm\|mov\|mpg\|mpeg\|avi\|wmv\|flv\|mp4\|3gp\)$' -type f |
|
find . -iregex '.*\(webm\|rm\|mov\|mpg\|mpeg\|avi\|wmv\|flv\|mp4\|3gp\)$' -type f |
|
||||||
# Sort by size - descending
|
# Sort by size - descending
|
||||||
perl -e 'print map {"$_\n"} sort { chomp $a;chomp $b; -s $b <=> -s $a } <>'
|
perl -e 'print map {"$_\n"} sort { chomp $a;chomp $b; -s $b <=> -s $a } <>'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue