Skip to content

Instantly share code, notes, and snippets.

@azz
Created June 6, 2013 09:08
Show Gist options
  • Save azz/5720295 to your computer and use it in GitHub Desktop.
Save azz/5720295 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "joining files $1 and $2 ..."
name=$( echo "$1" | sed 's/\ \(Part [0-9]\)//' | sed 's/\ \[[0-9]of[0-9]\]//' )
avidemux --nogui --load "$1" --append "$2" --save "$name"
echo "saved as $name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment