home
/
code
/
khome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8a1acc348aca024924100391f7824ec9bdbde44a
[khome.git]
/
home
/
bin
/
video_catalog_update
1
#! /bin/sh
2
3
set -e
4
5
find
"
$DIR_VIDEO
"
\
6
-type
f \
7
-print0
\
8
|
xargs
\
9
-0
\
10
-P
"$(nproc)"
\
11
-I
{}
\
12
sh
-c
'printf "%s %s
\n
" $(mimetype -b "{}") "{}"'
\
13
|
awk
'/^video/ {sub(
$1
" +", ""); print}'
\
14
>
"
$FILE_VIDEO_CATALOG
"
This page took
0.050054 seconds
and
3
git commands to generate.