Created
August 14, 2015 03:46
-
-
Save kika/e7d927ad8780fc485e2d to your computer and use it in GitHub Desktop.
OS/X: Get the durations of the list of audio files and output CSV
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
mdls -name "kMDItemDisplayName" -name "kMDItemDurationSeconds" -raw *.wav | xargs -0 -L 2 echo | awk '{print $1 "," $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment