diff --git a/rc_shared.sh b/rc_shared.sh index 78ccdfd..859135c 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -396,9 +396,11 @@ function process-video { mv -v ffmpeg2pass*.log* ~/TRASH/ fi + echo "`date` - Syncing data." sync sleep 10 sync + if [[ -s $newfile ]]; then echo "`date` - Getting file sizes." du -h "$file"