File: mkvappend

package info (click to toggle)
hxtools 20180301-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,600 kB
  • sloc: ansic: 5,926; perl: 3,905; sh: 1,638; cpp: 342; makefile: 191; asm: 173
file content (11 lines) | stat: -rwxr-xr-x 137 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash -e
outfile="$1"
shift
a=("$1")
shift
j=0
for i in "$@"; do
	j=$[$j+1]
	a[j]="+$i"
done
exec mkvmerge -o "$outfile" "${a[@]}"