Hi, I have a script that merges bookmars and folders from Chrome to Edge. It migrates folders twice. Can someone add a control in it so that it doesn’t duplicate them.

deleted..

6 Spice ups

What have you tried? Where are you stuck? You could use a test-path to see if a file with the name already exists

I don’t know how to do it. The problem is like below. Folder and its content come twice to Edge.f9d76a9b-b02d-40d1-bd87-d86a34d7d05a-duplicate.PNG

So you just copy and paste a script and want us to fix it?

I can’t move forward and use it without fixing. I tried to fix it didn’t work. What is wrong with this? It is a forum to exchange knowledge right ? if you don’t help why you steal my time ?

What did you try to fix it? Don’t steal our time…

I used chatgpt it gave some ideas to add a control to not duplicate the existing folders. It doesn’t work healty so AI is still not enough for this. If you can add a control to check existing ones will do the job I guess