Skip to content

Instantly share code, notes, and snippets.

@linuxbender
Created April 20, 2014 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save linuxbender/11126072 to your computer and use it in GitHub Desktop.
Save linuxbender/11126072 to your computer and use it in GitHub Desktop.
#!/bin/bash
for file in $1/*.mp3
do
echo "file=$file"
mp3splt -f 0.10 5000.0 $file
if test "$?" == "0"; then
# cp $file $file"_backup"
rm $file
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment