Ist there an overview of commandline parameters Joplin supports?

Hi,

I am using joplinportable (Version 1.0.199, Windows 10),

As documented a JoplinProfile directory is created next to the exe. It took me quite long (about 40 minutes googling around) to find out how to point to a different JoplinProfile directory during startup of the portable edition. I found about the --profile parameter when reading a thread about the terminal edition and tried it successfully.

It would be nice if there is a documentation somewhere, where the commandline parameters are written down.

What do you think about it, or was I just too blind to find it?

Thanks
Christian

For the desktop app, none of the parameters are officially supported, so they are not documented either. --profile for example is used internally by the portable app or for development, but it’s not meant for users as improper use can lead to data loss.

1 Like

Hi Laurent, thanks for the quick response. Do you have a hint what improper use is?

I can give a pretty simple answer here: improper use is anything that has the possibility of nuking all of your Joplin content. As it currently stands, there is a revision system of sorts implemented into Joplin, but there’s no real guarantee that if you accidentally lose some or all of it, that you’ll be able to recover. That’s why backing up on a semi regular basis is recommended if you’re looking to experiment a bit.

1 Like

Hi,

not very accurate, but fair enough. “Do a backup and you will be fine :-)”

Thanks

No, it's more like "don't fiddle around with the joplin-desktop directory unless you know what you are doing and you will be fine". :wink:

2 Likes

A backup might not save you if your data is being corrupted in a subtle way and it takes you a long time to notice.

Improper use is for example pointing two different apps (CLI and desktop for instance) to the same profile, as one app might override the changes of the other app. Also since it’s not officially supported there are not many tests for these flags, so they might have bugs or issues we aren’t aware of.

3 Likes

I am trying to combine this with other issues related to the "Portable" version of Joplin in the hope that a solution will be found sooner; if you have any comments/suggestions, please see

Then using the same desktop app with shortcuts to different profiles with different data seems to be reasonably safe I suppose. Of course being aware what you also said:

"Also since it’s not officially supported there are not many tests for these flags, so they might have bugs or issues we aren’t aware of."

It is however a very useful thing to be able to use such a parameter letting users choose where to store their data. Brave Browser has it (another parameter name though) and I have used it there for quite a while now. Firefox also has a way to let you choose several different profiles with data in different places for each profile (if you want). It is so configurable!

So I would give my vote for making this option more official :-).

1 Like