dotfiles/_custom/.local/bin/videoconcat

3 lines
113 B
Bash
Executable File

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