copy profiles and workspaces to an external drive
-
@andi11
The aim of all this: I want to be able to read all URLs without using the Internet and finally make a list of them.
No idea how this should work, the workspaces are on different places in a profile.
Maybe you can use Bookmark all Tabs but you have to do this for all workspaces in every single profile.
If you familiar with JSON files you can edit the file sessions.json in Profilename/Sessions/EDIT: In the file are only the workspace names, not helpful for your problem.
-
@andi11
I checked a few other files but I have no idea how one can extract URL's from the binary files of Vivaldi or other Chromium browsers.
In a file Tabs_13372969069781577 for example they are there
but what to do with something like:{"workspaceId":1715161874249,"ext_id":"a9853299-6419-49ee-926f-e2431ed2a9b9","interval":0,"urlForThumbnail": "https://www.tagesspiegel.de/", "thumbnail":"chrome://vivaldi-data/thumbnail/5MZBP2LVL47CIH643ADIJUBBELENI7YV.jpg"}
-
@mib2berlin Grepping through session files to extract urls is a futile and hopeless endavour. They are simply not meant to be parsed by humans.
I guess one can do something like:
$ strings Tabs_13372973763759168 | egrep "^http" | sort | uniq http://yahoo.com/ https://consent.yahoo.com/ https://consent.yahoo.com/v2/collectConsent?sessionId=3_cc-session_57d4c17e-a525-4820-9d42-10dd820920cd https://social.vivaldi.net https://social.vivaldi.net/explore https://vivaldi.com/bk/sd-accuweather https://vivaldi.com/bk/sd-community-nb https://vivaldi.com/bk/sd-social https://vivaldi.com/bk/vivaldia-game https://vivaldi.com/game/ https://vivaldi.net https://vivaldi.net/#pk_campaign=sd&pk_kwd=community-nb https://www.accuweather.com https://www.accuweather.com/?partner=web_tempest_vivaldi_adc> https://www.awxcdn.com https://www.vg.no https://www.vg.no/ https://www.yahoo.com/?guccounter=1
... If one is crazy and desperate enough
Just use the Windows panel, select the tabs and use the context menu, or simply use Ctrl+C.
-
Good morning
@Pathduck said in copy profiles and workspaces to an external drive:
I guess one can do something like:
$ strings Tabs_13372973763759168 | egrep "^http" | sort | uniq
... If one is crazy and desperate enough
I may be off-topic with this question or not: What do you consider crazy and desperate with this approach? Looks perfectly useable to me.
-
@BoozeOperator
Hi, I guess @Pathduck meant you get crazy if you have to do this for 14 profiles and possibly thousands of tabs.
@Pathduck
Yes, grep is very powerful maybe @andi11 can use or test this.Cheers, mib
-
Edit for Kraut2English
@mib2berlin said in copy profiles and workspaces to an external drive:
@BoozeOperator
Hi, I guess @Pathduck meant you get crazy if you have to do this for 14 profiles and possibly thousands of tabs.Depends on what your objective is. The procedure is as simple as can be. If the perspective of potential success gives you the shivers, then the need for changes in the specification becomes evident.
-
@BoozeOperator said in copy profiles and workspaces to an external drive:
What do you consider crazy and desperate with this approach? Looks perfectly useable to me.
These are binary files, they were never meant to be parsed with tools like
strings
- they are only meant to be parsed by Chromium's session management code.Very few people understand how these files work in detail.
https://digitalinvestigation.wordpress.com/tag/snss/There's no guarantee that
strings
will even return all the relevant URLs the user is interested in.Someone desperate to restore their lost tabs after a crash might get some use of it. But those people who hoard tabs and care deeply about them should start automatically saving sessions on a regular basis.
-
@andi11 said in copy profiles and workspaces to an external drive:
how can I copy both profiles and workspaces to an external drive?
A. Find out the configuration file directory currently used by Vivaldi;
B. copy/move configuration file directory to external storage device;
C. Create a custom desktop entry that allows Vivaldi to be launched each time with a command line parameter specifying the location of the custom configuration file directory. -
@mib2berlin
Hello mib2berlin,
thank you very much for your assistance, but as I said earlier, I have put on a shoe that is more than too big for me.
Bookmark and JSON files – I have never heard of itWhen I take only 'Profile 1': It shows me
1.640 Objects all together 103,5 MB (97,3 MB on drive)[isn't normaly the file size smaller than the drive size? ] - so I'm looking for a needle in a haystack...Pathduck writes: $ strings Tabs_13372973763759168 | egrep "^http" | sort | uniq
OK, this option I could try, but not without knowing the name of the file, my free time is far too short.
bye andi11
-
@Pathduck
Hello Pathduck,
the idea with strings I could try, but not without knowing the name of the files, my free time is far too short.
When I take only 'Profile 1': It shows me 1.640 Objects ..In anyway thanks
bye andi11
-
@andi11 Forget about it, you need to learn basic Linux skills first, and it will probably not do what you want anyway. I'm kind of surprised you're even on Linux not knowing the basics of how to find files and examine them in the shell.
Why not do as I already suggested, use the Windows panel, select tabs and copy the urls?
https://help.vivaldi.com/desktop/tabs/window-panel/I don't even understand the origin of why you want to do this?
You wrote:
"The aim of all this: I want to be able to read all URLs without using the Internet and finally make a list of them.."
This sentence makes zero sense to me. -
@Aaron
Hello Aaron,
To (A): please, could you give me a helping hand, to find out the directory of the configuration file.
I have made a backup of my /home/user/.config/vivaldi directory to an external drive.
On the root drive I find parts of the browser (search for 'vivaldi') in /etc/..., /opt/..., /usr/..., /var/...
To (C): What do you mean by 'create'? I'm not a developer, so far I haven't written a single program yet.
bye andi11 -
@andi11 said in copy profiles and workspaces to an external drive:
To (A): please, could you give me a helping hand, to find out the directory of the configuration file.
click "Vivaldi menu"->Help->about:
The last line shows you all about it.
BTW,to find out the hidden files/dirs using 'mate-search-tool' you may type:
'mate-search-tool --hidden <filename/dir-name>'
(Ref. here )
Or, simply using command 'ls'ls -al xxxxxxx
-
@Aaron
Hello Aaron,
Thank you very much for your help, I have learnt more in the last three days than I usually do in two months.
I will get back to you a.s.a.p.
bye Andi -
This post is deleted! -
@Aaron
Hello Aaron,
now I no longer understand the world. Why do you write: First of all please forgive me, …Please, you don't have to apologise for my incomprehensible text. You are absolutely right to tell me, and I even ask you to do so!
When I write a text, everyone can read it. I'm totally new to this forum and don't want to experiment, but I'm wondering: Can I send a message to a single person as well?
I will continue next week
Bye Andi
-
Hello,
it's now a week ago, that I opened the topic / subject:
»copy profiles and workspaces to an external drive«.In the meantime I have learnt a lot about Vivaldi and in general. I therefore would like to thank everyone who has tried to help me. The key tip came from @Pathduck:
»Just use the Windows panel, select the tabs and use the context menu, or simply use Ctrl+C.«My problem was that I had mistaken the Windows panel for MS Windows. In fact, I still need to improve my English and my knowledge about Vivaldi . Otherwise I want to stay with my motto: Learning by doing.
But now I don't know how to close the topic /subject. Or will this be done by a Vivaldi assistant? – The topic is solved for me.
andi11
-
@andi11 said in copy profiles and workspaces to an external drive:
»Just use the Windows panel, select the tabs and use the context menu, or simply use Ctrl+C.«
That's great - so you were able to copy all your links from the Windows Panel?
Maybe I should've been clearer and actually linked the Help documentation - I always assume people know about these things
https://help.vivaldi.com/desktop/tabs/window-panel/I still suggest you read up on a bit on basic file management in Linux, understanding the file system structure, hidden files, and using the shell/command line - the most powerful tool in Linux. Knowing Linux, sooner or later you will really need it
But now I don't know how to close the topic /subject. Or will this be done by a Vivaldi assistant? – The topic is solved for me.
There's nothing to "close" as nothing was ever "opened" - does that make sense? If you want, edit your first post, and add
[SOLVED]
or what you want. Doesn't really matter, the "problem" is solved -
@Pathduck
Pathduck wrote: »There's nothing to "close" as nothing was ever "opened" - does that make sense?«Hello Pathduck, when I started my first/new thread/topic, I was of the opinion to ‘open’ a discussion. A native may use a different term. Forgive me if I have caused a misunderstanding. - And what is your response when a discussion ends?
Also, you wrote:
»Maybe I should've been clearer and actually linked the Help documentation - I always assume people know about these things«
You are absolutely right, people who already have some experience know where to look / search for more details. But what about the newbies?I don't want to lament, but even now I don't know how to answer correctly (Vivaldi-conform), although I have studied the Vivaldi help. (https://help.vivaldi.com/services/forum/post-on-the-forum/#Reply_to_a_topic ) Also, I'm still not sure who can read this text - the whole community or just you? Please confirm this.
Bye andi11
-
@Aaron
Hello Aaron, yes, indeed, it does work!But I also know that I would never have made it without your help. That's why I would like to express my special thanks to you.
Earlier already I had found a similar link https://forum.vivaldi.net/topic/81951/how-to-install-vivaldi-for-all-users-not-on-system-partition/, but in my opinion it is only suitable for MS Windows.
Bye
Andi11