diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-10-27 20:41:10 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-10-27 23:54:47 -0400 |
commit | dcc5edf668ca5908b0d8c234be6bd4f3b01897ef (patch) | |
tree | 6692fdeec4fd6d934db309b1b1dbe5d080fba1e6 | |
parent | 0111059218357f14b10bf5150b361921b523a357 (diff) | |
download | conf-dcc5edf668ca5908b0d8c234be6bd4f3b01897ef.tar.gz conf-dcc5edf668ca5908b0d8c234be6bd4f3b01897ef.zip |
picard handles this these days
-rwxr-xr-x | bin/mp3_rename | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/mp3_rename b/bin/mp3_rename deleted file mode 100755 index 829ad63..0000000 --- a/bin/mp3_rename +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -for file in *.mp3; do - INFO=$(id3info "${file}") - TRACK_NUM=$(echo "${INFO}" | grep TRCK | cut -d":" -f2 | sed 's/ //') - ARTIST=$(echo "${INFO}" | grep TPE1 | cut -d":" -f2 | sed 's/ //') - NAME=$(echo "${INFO}" | grep TIT2 | cut -d":" -f2 | sed 's/ //') - - mv "${file}" "$(printf "%02d - %s - %s.mp3" "${TRACK_NUM}" "${ARTIST}" "${NAME}" | sed 's:/:_:g')" -done |