dotfiles/_custom/.local/bin/videoconcat

3 lines
113 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
ffmpeg -safe 0 -f concat -i <(find . -type f -name "$1*" -printf "file '$PWD/%p'\n" | sort) -c copy $2