According to the neo4j-sh help, there is a -c option to the trav command
that should allow for executing the ls command on each node visited in a
traversal.

-c     Command to run for each returned node. Use $i for
node/relationship id, example:

         -c "ls -f name $i". Multiple commands can be supplied with &&
in between.

I'm trying to simply do an ls to see the properties present for each
node, and this command does not work.

        trav -c "ls $i"

This just prints out the same output as if I ran the trav command
without any additional parameters (it prints the relationships, but not
the properties of each node).

Am I doing something wrong, or does the -c option not work?

Thanks

        WP

=============================================================================== 
Please access the attached hyperlink for an important electronic communications 
disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to