Fix usage instructions
[khome.git] / home / bin / video_catalog_update
CommitLineData
f7352c48
SK
1#! /bin/sh
2
3set -e
4
5find "$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.024519 seconds and 4 git commands to generate.