snippets/cutAndShrinkVideo

13 lines
182 B
Bash
Executable File

#!/bin/bash
cutFile="$(cutVideo $1 $2 $3)"
status=$?
if [ $status -eq 0 ]; then
echo "$(shrinkVideo $cutFile)"
status=$?
if [ $status -eq 0 ]; then
rm "$cutFile"
fi
fi