This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e "driving\t(*)" > /Volumes/Music/cds-2/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -rtvu --delete-before /Volumes/Music/cds-2/ /Volumes/poly/cds/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for filename in *.m4v; do /Applications/ffmpeg -i "${filename}" -vn -f mp3 "test/${filename%.*}.mp3"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OIFS="$IFS" | |
IFS=$'\t\n' | |
FOLDER_ROOT=cds | |
function getPlaylists { | |
PL=$1 | |
FILENAME=$2 | |
echo ${FILENAME} | while read FILE; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name pl.txt -exec sed -i '' -e '$a\' {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -vzvhr --include '*txt' --include "*/" --exclude="*" cds/ temp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OIFS="$IFS" | |
IFS=$'\t\n' | |
shopt -s extglob | |
FOLDER_ROOT=cds | |
function getPlaylists { | |
BASE=$1 | |
GENRE=$2 |