Skip to content

Instantly share code, notes, and snippets.

View emgeebee's full-sized avatar

Matthew Bishop (ACN) emgeebee

View GitHub Profile
echo -e "driving\t(*)" > /Volumes/Music/cds-2/
rsync -rtvu --delete-before /Volumes/Music/cds-2/ /Volumes/poly/cds/
for filename in *.m4v; do /Applications/ffmpeg -i "${filename}" -vn -f mp3 "test/${filename%.*}.mp3"; done
OIFS="$IFS"
IFS=$'\t\n'
FOLDER_ROOT=cds
function getPlaylists {
PL=$1
FILENAME=$2
echo ${FILENAME} | while read FILE; do
find . -name pl.txt -exec sed -i '' -e '$a\' {} \;
rsync -vzvhr --include '*txt' --include "*/" --exclude="*" cds/ temp/
OIFS="$IFS"
IFS=$'\t\n'
shopt -s extglob
FOLDER_ROOT=cds
function getPlaylists {
BASE=$1
GENRE=$2