home
/
code
/
khome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Move today's goals/tasks to the top of the daily template
[khome.git]
/
home
/
bin
/
video-find
1
#! /bin/sh
2
3
find
$@ \
4
-type
f \
5
-print0
\
6
|
xargs
\
7
-0
\
8
-P
"$(nproc)"
\
9
-I
{}
\
10
sh
-c
'printf "%s\0%s\0\0" $(mimetype -b "{}") "{}"'
\
11
| gawk
-v
RS
=
'\0\0'
-v
ORS
=
'\0'
'/^video/ {sub("^[^\0]+\0", ""); print}'
This page took
0.072408 seconds
and
4
git commands to generate.