Files
bin/fvl
2019-10-18 21:23:53 +02:00

16 lines
204 B
Bash
Executable File

#!/bin/bash
videodir=/dat/video/vdr
vdrdb=/tmp/vdr.db
tofind=$1
files=$(locate -d $vdrdb -i $1 | grep -v .rec)
for f in $files; do
if [ -d $f ]; then
#echo $f
du -sh $f
fi
done