Automatic saving of Pluto notebooks in a Mac

I have a problem with students who drag and drop a Pluto notebook into the “Open a notebook” window, running the notebook but not giving a particular path and name to save it. Pluto saves the notebook automatically if one single cell is run in a specific folder of its choice, depending on the type of OS, and gives a fancy title to that file, like “Wonderful adventure.jl”.

In Windows, Pluto saves the notebooks in those circumstances, usually in the following path: C:\Users\myuser\.julia\pluto_notebooks\

However, I do not have a Mac and need to find out where Pluto saves the notebooks in those circumstances, under this type of OS.

Where should I look for those notebooks on a Mac?

I tried using a Mac and did my best, but I failed. I would greatly appreciate any help you can give me.

Thanks

on Mac like on other platforms notebooks should be saved within the pluto_notebooks subfolder of Base.DEPOT_PATH which should default to ~/.julia

Thanks. I knew that in Windows, but I have never used a Mac. OK, I’ll try to find the /.julia folder on a Mac tomorrow.

note that is not /.julia but ~/.julia, which on Mac should be something like /Users/<username>/.julia

if you have students/users with mac they could also directly check the location of a notebook by executing the @__DIR__ macro in a notebook cell:

1 Like