Created
April 9, 2018 14:01
-
-
Save kgilmer/e3d463cad20eba1bf55703f148957827 to your computer and use it in GitHub Desktop.
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
fun main(args: Array<String>) { | |
File(args[0]) | |
.walk() | |
.filter { it.isFile && it.extension.equals("mp3", ignoreCase = true) } | |
.forEach { sourceFile -> | |
println("Reading $sourceFile") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment