Created
September 24, 2014 10:47
-
-
Save syui/ca06393938672224e703 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
sea="ID_FILENAME" | |
dir1=$HOME/Music | |
rm -rf $dir1/*/.DS_Store >/dev/null 2>&1 | |
dir2="$dir1/"`zsh -c "ls -A $dir1 | peco"` | |
pla=`mplayer -novideo -speed 2 -af scaletempo,volnorm -loop 20 -quiet -msglevel all=0 -identify $dir2/* > $dir1/info.txt` | |
#cat $dir1/info.txt | grep FILE | tail -n 1 | xargs basename | cut -b 1-6 | |
rm $dir1/info.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment