snippets/cutAndShrinkVideo
2020-08-17 12:57:45 +02:00

19 lines
287 B
Bash
Executable File

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