Skip to content

Instantly share code, notes, and snippets.

@YasienDwieb
YasienDwieb / audio_splitter.sh
Created January 12, 2019 22:08
split audio files into equal pieces using ffmpeg
#!/bin/bash
if [ $# -eq 0 ]
then
echo 'Usage: audiosplitter.sh filename|directory segmenttime'
exit
fi
FILENAME=$1
SEGMENTTIME=$2