Apoc.export.csv.all - Export file location on a Mac


I'm executing CALL apoc.export.csv.all("movies.csv", {})
which seems to finish OK - I get "Started streaming 1 records after 1 ms and completed after 774 ms." and "Done = true" but I can't locate the file anywhere in my machine.

I tried also adding a path but that gives me an error : Caused by: java.io.FileNotFoundException.

Any clues where the file is being saved if at all. Or maybe I need to pass other params...

Many thanks

In response to my own question:

add a "/" in front of the file name and it will be generated in the /dbms-youdbmsid/import folder like so:

call apoc.export.csv.all("/movies.csv", {})