batch drag and drop only shows names.
You can try Safari > File > Export Bookmarks...That's the problem. I have hundreds of bookmarks that I can't do one by one unless I want to spend hours and hours.
I tried that, but when I opened it in TextEdit it shows as blue hyperlinks. Then I click Plain Text and it only shows title names.You can try Safari > File > Export Bookmarks...
Export to an html file, then open that file in TextEdit and do some find & replace edits so that you are left with only the url's.
for example:
Find: <A HREF="
Replace with: (empty, don't type anything here)
That might take some time but it will leave you with just the url's.
In TextEdit preferences:I tried that, but when I opened it in TextEdit it shows as blue hyperlinks. Then I click Plain Text and it only shows title names.
I think the latest macOS update screwed with copy/paste bookmarks because it worked before the update.
Thanks. That's just a mess because of the "end quote" HTML text can't easily be deleted.In TextEdit preferences:
Under New Document > Format, choose 'Plain Text'
Under Open and Save: Check the box labeled 'Display HTML files as HTML code instead of formatted text'
That should show HTML code as text instead of links. Then try opening the bookmarks html file again.
Actually..Thanks. That's just a mess because of the "end quote" HTML text can't easily be deleted.
I think my only real answer is to see if Apple will fix this bug in the next update.
Actually..
Find: ">
Replace with: (4 spaces, or 5, or..)
This has me wondering if TextEdit can use regex in find & Replace.
Ok, I found a way to do it but requires the mouse.. kind like regex but works fine.But then it'll end each address with the title of the address.
You only have to do the copy and paste once for Find (first screenshot) and once for Replace (second screenshot). Then hit the replace "All" button and TextEdit will perform the same command on every line. Doesn't matter if you have ten lines or ten thousand.. you're just telling TextEdit what to find and what to replace it with - and then the app does it for every line because you pressed the "All" button.I appreciate your help, but I can't comb through hundreds-thousands of bookmarks to do this.
Are you saying that there's a wildcard in the find/replace?You only have to do the copy and paste once for Find (first screenshot) and once for Replace (second screenshot). Then hit the replace "All" button and TextEdit will perform the same command on every line. Doesn't matter if you have ten lines or ten thousand.. you're only copying and pasting once for find and once for replace.
It doesn't matter what's at the end of each url, as long as you highlight what you want to find and then what you want to replace it with, TextEdit will do it. Look carefully at the screenshots I posted.Are you saying that there's a wildcard in the find/replace?
In my photo it shows an additional title at the end of each URL.
Thank you! I knew there had to be some type of regex in this app. Very helpful!You want to use "Insert Pattern". It's the last option under the find button at the left. And then your find and replace would look like this so it'd leave just the URLs:
View attachment 810667
You want to use "Insert Pattern". It's the last option under the find button at the left. And then your find and replace would look like this so it'd leave just the URLs:
View attachment 810667