Created
September 17, 2015 12:49
-
-
Save timpulver/3fdd2dd0732ef7de8de6 to your computer and use it in GitHub Desktop.
Read Mac OS X Finder file tags in Node.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will break on a filename with spaces. Best to get rid of
var cmd = cmdArr.join(" ")
and pass the argument array directly toexecFile("tag", args, …)
instead