The target URL can be obtained using job Commandline or Export (which will probably quote it for shell).
… let me suggest Export in case quoting is better, and for some reason I had to add a / before the folder.
C:\Users\xxx\AppData\Local\Temp>"C:\Program Files\Duplicati 2\Duplicati.CommandLine.BackendTool.exe" list "onedrivev2:///PC Backup/DELLXPS8500?authid=xxx"
Name Dir/File LastChange Size
duplicati-20190101T005253Z.dlist.zip File 1/1/2019 12:52:53 AM 521 bytes
duplicati-20190120T201428Z.dlist.zip File 1/20/2019 8:16:41 PM 714 bytes
duplicati-b718a3e0ae1ab419d89ef5f7d8e0562d1.dblock.zip File 1/20/2019 8:16:02 PM 49.95 MB
duplicati-b400108d8bda7485e9ac8923fab91e3e1.dblock.zip File 1/20/2019 8:16:41 PM 23.56 MB
duplicati-bdd1a0e3a9cc7437789a2585aa3462c2a.dblock.zip File 1/1/2019 12:52:52 AM 675 bytes
duplicati-i65be9aba4dd54d2ab6b2000eab35c5d4.dindex.zip File 1/1/2019 12:52:53 AM 611 bytes
duplicati-i082387c7936f4930bfdfc8b429212100.dindex.zip File 1/20/2019 8:16:03 PM 43.17 KB
duplicati-ifd947e91a8804e62b7d60ba3be216bc9.dindex.zip File 1/20/2019 8:16:41 PM 9.18 KB
duplicati-verification.json File 1/20/2019 8:16:42 PM 1.54 KB
C:\Users\xxx\AppData\Local\Temp>"C:\Program Files\Duplicati 2\Duplicati.CommandLine.BackendTool.exe" get "onedrivev2:///PC Backup/DELLXPS8500?authid=xxx" duplicati-b718a3e0ae1ab419d89ef5f7d8e0562d1.dblock.zip
C:\Users\xxx\AppData\Local\Temp>dir duplicati-b718a3e0ae1ab419d89ef5f7d8e0562d1.dblock.zip
Volume in drive C is Windows
Volume Serial Number is 5822-1128
Directory of C:\Users\xxx\AppData\Local\Temp
01/28/2019 12:36 PM 52,377,390 duplicati-b718a3e0ae1ab419d89ef5f7d8e0562d1.dblock.zip
1 File(s) 52,377,390 bytes
0 Dir(s) 24,719,097,856 bytes free
C:\Users\xxx\AppData\Local\Temp>
On Linux, you probably don’t have a convenient /usr/bin script for this, but you could look in one for code location (e.g. /usr/lib/duplicati) then do mono /<directories>/Duplicati.CommandLine.BackendTool.exe …