From 7fe83646c8f996fe60742552f4409e1159a5f054 Mon Sep 17 00:00:00 2001 From: Abra Date: Fri, 13 Jul 2018 23:37:06 +0400 Subject: [PATCH] another ffmpeg change --- .zprezto/runcoms/zalias | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zprezto/runcoms/zalias b/.zprezto/runcoms/zalias index 35850ce..06c1b38 100644 --- a/.zprezto/runcoms/zalias +++ b/.zprezto/runcoms/zalias @@ -208,14 +208,14 @@ ffmpeg_timelapse() { -y "/mnt/a/tmp/$DATE.mp4" mv "/mnt/a/tmp/$DATE.mp4" "/mnt/a/$DATE.mp4" + + rm -rf "/mnt/a/snaps/$TODAY" } ffmpeg_timelapse_today() { local TODAY=$(date '+%Y-%m-%d') ffmpeg_timelapse "$TODAY" -preset ultrafast -crf 20 - - rm -rf "/mnt/a/snaps/$TODAY" } update_.g() {