Created
March 22, 2014 19:06
-
-
Save twillis/9712569 to your computer and use it in GitHub Desktop.
with this function, I commit the id3tags of my music collection to elasticsearch, now for the web part
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
(defn do-scan [initial-dir] | |
(dorun | |
(map prn (map :canonical-path | |
(filter identity | |
(map upsert-file-doc | |
(map file-data | |
(supported-files-seq initial-dir)))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment