„Build/status.sh“ ändern
This commit is contained in:
parent
b7067c7c61
commit
f00be5e205
|
@ -85,17 +85,11 @@ func_main_LastLog () {
|
||||||
# Dateistatus auslesen:
|
# Dateistatus auslesen:
|
||||||
# ---------------------------------------------------------------------
|
# ---------------------------------------------------------------------
|
||||||
# .otrkey-Files:
|
# .otrkey-Files:
|
||||||
count_otrkey=0
|
count_otrkey=$( ls -t "${OTRkeydir}" | egrep -o '.*.otrkey$' | wc -l ) # wie viele Dateien
|
||||||
for i in $(find "$OTRkeydir" -maxdepth 1 -name "*.otrkey" -type f)
|
|
||||||
do
|
|
||||||
count_otrkey=$(( count_otrkey + 1 ))
|
|
||||||
done
|
|
||||||
# wait of cutlist:
|
# wait of cutlist:
|
||||||
count_waitofcutlist=0
|
count_waitofcutlist=$( expr $( ls -t "${DECODIR}" | egrep -o '.*.avi$' | wc -l ) + $( ls -t "${DECODIR}" | egrep -o '.*.mp4$' | wc -l ) ) # wie viele Dateien
|
||||||
for i in $(find "$DECODIR" -maxdepth 1 -name "*.avi" -o -name "*.mp4" -type f)
|
|
||||||
do
|
|
||||||
count_waitofcutlist=$(( count_waitofcutlist + 1 ))
|
|
||||||
done
|
|
||||||
|
|
||||||
# manueller synOTR-Start:
|
# manueller synOTR-Start:
|
||||||
# ---------------------------------------------------------------------
|
# ---------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue