myhome/.local/bin/yt-video-cut

3 lines
109 B
Bash
Executable File

#!/bin/bash
yt-dlp --external-downloader ffmpeg --external-downloader-args "ffmpeg_i:-ss $1 -to $2" "${@:3}"