BBEdit 13.5.7 - VERBOSE feedback on Find&Replace

84 views
Skip to first unread message

Peter Kaufman

unread,
Jan 6, 2023, 11:33:57 AM1/6/23
to BBEdit Talk
Folks,

I've just started using a new Macbook Pro and BBEdit 13.5.7 on it and notice that I'm not shown how many changes BBEdit Find&Replace affected after a given action.  I'm used to seeing that on my old Macbook Pro.  I would even like to see it for a few more seconds than I used to previously if possible.

I cannot find where in the preferences that setting would be.  Help?

Thanks!!!

Peter

Bruce Van Allen

unread,
Jan 6, 2023, 1:19:52 PM1/6/23
to bbe...@googlegroups.com
Check the Expert Preferences. In your version of BBEdit accessing info about them might be different, but the Barebones online expert prefs are explained here:

<https://www.barebones.com/support/bbedit/ExpertPreferences.html#texts>

For example:

### quote from barebones.com ###

• When performing a single-file "Replace All" operation, BBEdit can show a confirmation sheet showing the number of replacements performed. If you would like to see this confirmation:

defaults write com.barebones.bbedit ReportReplaceAllResults -bool YES


#########
> --
> This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/d1e87d9a-de97-4765-882a-ead48b5abf75n%40googlegroups.com.


— Bruce

_bruce__van_allen__santa_cruz_ca_





Darren Duncan

unread,
Jan 6, 2023, 3:33:23 PM1/6/23
to bbe...@googlegroups.com
Also, when migrating to a new Mac, if you clone over the settings for your
programs, for example BBEdit has several settings and support files under
~Library, then it should have all the behaviors you're used to, notwithstanding
changes to the operating system itself or updates to the BBEdit version. -- Darren

Patrick Woolsey

unread,
Jan 6, 2023, 3:46:21 PM1/6/23
to bbe...@googlegroups.com
As a more general option, you can transfer all your existing
BBEdit preference settings from one Mac to another as follows:

Please make sure BBEdit is not running on either machine, then
open the Terminal utility app on the _source Mac_ and enter the
following command (you can copy & paste it):

defaults export com.barebones.bbedit ~/Desktop/BBEditPreferences.plist

Next, transfer the resulting file ("BBEditPreferences.plist") to
the Desktop on your _target Mac_, which you can do by any
standard means (e.g. via iCloud Drive, AirDrop, or an USB thumb drive).

Then, launch the Terminal app on the target Mac and run the
following command to apply the transferred prefs (again, you can
copy & paste it):

defaults import com.barebones.bbedit ~/Desktop/BBEditPreferences.plist


In addition, if you have any existing BBEdit app support items,
such as clippings, scripts, and/or text filters, you can also
transfer those items from your original machine to the new one.

For details on BBEdit's supporting items, including their
locations, please see Chapter 2 of the included PDF manual
(available at any time by choosing Help -> User Manual).


Regards

Patrick Woolsey
==
Bare Bones Software, Inc. <https://www.barebones.com/>

Peter Kaufman

unread,
Jan 6, 2023, 3:46:58 PM1/6/23
to bbe...@googlegroups.com
Thanks, Darren for that - I'll dbl chk that.

And, Bruce, thanks for the tip on system bool settings...I just did that and it works!

Peter



Sent from my Verizon, Samsung Galaxy smartphone
--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/RPZyUN9DkAE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/edf2234d-95d2-9b05-e058-87455139ad9b%40darrenduncan.net.

Tim A

unread,
Jan 10, 2023, 11:06:05 AM1/10/23
to BBEdit Talk
open the Terminal utility app on the _source Mac_ and enter the
following command (you can copy & paste it):
defaults export com.barebones.bbedit ~/Desktop/BBEditPreferences.plist

Where does Terminal find this BBEdit file to export? I've looked in ~/Library and the BBEdit folders/files I find don't match the results from the export file above.
 

Peter Kaufman

unread,
Jan 10, 2023, 11:31:30 AM1/10/23
to bbe...@googlegroups.com
Tim,

Perhaps you've already realized what you missed, but in case you haven't, here is the entire instruction:

Please make sure BBEdit is not running on either machine, then
open the Terminal utility app on the _source Mac_ and enter the
following command (you can copy & paste it):

defaults export com.barebones.bbedit ~/Desktop/BBEditPreferences.plist

Next, transfer the resulting file ("BBEditPreferences.plist") to
the Desktop on your _target Mac_, which you can do by any
standard means (e.g. via iCloud Drive, AirDrop, or an USB thumb drive).

Then, launch the Terminal app on the target Mac and run the
following command to apply the transferred prefs (again, you can
copy & paste it):

defaults import com.barebones.bbedit ~/Desktop/BBEditPreferences.plist

-- Peter


--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/RPZyUN9DkAE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.


--
-------------------------------------------------------------
Peter Kaufman     PKau...@GMail.Com
United States of America
-------------------------------------------------------------

Tim A

unread,
Jan 10, 2023, 4:00:38 PM1/10/23
to BBEdit Talk
Perhaps you've already realized what you missed, but in case you haven't, here is the entire instruction: - Peter

No, I don't see how the Terminal command defaults export com.barebones.bbedit identifies/knows the path to the file to export from the old computer, and then knows where to write via import from the desktop of the new computer the file freshly created. Where do these things "live"?
I've looked in:   ~/Library/Preferences/BBEdit
                           ~/Library/BBEdit
                           ~/Library/Application Support/BBEdit
and can't find the path of the exported file.

And I've done man search and while defaults read and defaults write are described,  defaults export doesn't isn't even documented.


Byers Media

unread,
Jan 10, 2023, 4:19:21 PM1/10/23
to bbe...@googlegroups.com
Tim. I am not the smartest here, so when I saw your questions I had to put Peter's instructions to the test to see if I could even do it.

I searched for [man] [export] in the terminal, and [defaults] and found this:
export is in there.
Oh, and I copied and pasted the command Peter shared and it worked.
Now, how the terminal knows where the prefs are located, is a question I would also like answered.
terminal-screen.jpg

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/ea36a80f-b686-483b-b9d9-41e61cbfe730n%40googlegroups.com.

Byers Home Page

11773 Slow Poke Lane, Grass Valley, California 95945
Byers is committed to protecting your health and safety with a Virtual Consultation.

Reviews on Google • Give Us Feedback

We are here to help you Stay Safe!

Neil Faiman

unread,
Jan 10, 2023, 4:21:27 PM1/10/23
to BBEdit Talk Mailing List

On Jan 10, 2023, at 4:00 PM, Tim A <timaa...@gmail.com> wrote:

No, I don't see how the Terminal command defaults export com.barebones.bbedit identifies/knows the path to the file to export from the old computer, and then knows where to write via import from the desktop of the new computer the file freshly created. Where do these things "live"?
I've looked in:   ~/Library/Preferences/BBEdit
                           ~/Library/BBEdit
                           ~/Library/Application Support/BBEdit
and can't find the path of the exported file.


You’re over-thinking it.

The defaults command knows where the defaults information is kept — you don’t need to.

Peter’s command

defaults export com.barebones.bbedit ~/Desktop/BBEditPreferences.plist

says, “Copy the com.barebones.bbedit preferences, wherever and however they may be stored, into a file named BBEditPreferences.plist on your desktop." You could call that file whatever you like, and save it wherever you like — this is just a suggestion. Once you created that file, you will copy it to your new machine. Then, Peter’s command

defaults import com.barebones.bbedit ~/Desktop/BBEditPreferences.plist

says, “Copy the preferences from the file BBEditPreferences.plist on you desktop into the com.barebones.bbedit preferences on this system, wherever and however they may be stored.”

Regards,
Neil Faiman

Patrick Woolsey

unread,
Jan 10, 2023, 4:22:36 PM1/10/23
to bbe...@googlegroups.com
When you run the 'defaults' command, it will _create_ the prefs
file in your account's Desktop folder, and that file's name will
be "BBEditPreferences.plist".

Byers Media

unread,
Jan 10, 2023, 4:22:39 PM1/10/23
to bbe...@googlegroups.com
Tim, to finish, I know I get frustrated and it affects my ability to reason.
I am in no way saying I am smarter than you, Just to take a deep breath and look at it again.

Unless I found the wrong thing and am not on the same page. (what usually happens)

- gerald

Byers Media

unread,
Jan 10, 2023, 4:25:37 PM1/10/23
to bbe...@googlegroups.com
Neil. Thank you for the explanation, I thought it had to do with the defaults command, I just did not have any facts.

Ha. Now I am exporting all my defaults files. too much fun. 

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/9E3292C4-A2D9-48B7-8DAF-24EAC0AB3BC8%40faiman.org.

Tim A

unread,
Jan 10, 2023, 4:52:00 PM1/10/23
to BBEdit Talk
It is not "overthinking" to pose the question; I'm interested in learning more, not just being a copy and paste visitor.

Apple's file structures remind me of Churchill on the Soviet Union: a riddle, wrapped in a mystery, inside an enigma.

I believe the source file "lives" here:  ~/Library/Containers/com.barebones.bbedit/Data/Library/Preferences/com.barebones.bbedit.plist
There is still a size discrepancy but it looks close enough for government work.


Reply all
Reply to author
Forward
0 new messages