tinkerpop - How can I get all the file names under one folder using gremlin? -
how can file names under 1 file folder? , foreach file names? using gremlin command
gremlin graph traversal language. doesn't have specific commands reading file system. use features of programming language that. groovy, do:
gremlin> new file("data").eachfile(groovy.io.filetype.files) { println it.name } tinkerpop-modern.json tinkerpop-classic.kryo ... script-input.groovy
Comments
Post a Comment