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

3 lines
109 B
Plaintext
Raw Permalink Normal View History

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