Skip to main content
added 62 characters in body
Source Link
Qiulang 邱朗
  • 829
  • 4
  • 11
  • 22

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

The current marked duplicated Q&AReplace Text Edit as the default text editor does not work for me,

First, the highest two answers there said something like duti -s com.sublimetext.4 public.plain-text all but as @Seamus said in his updated answer "The accepted answer may have been correct when it was written, but does not work for current (as of approximately Catalina vintage) systems because the UTI for a text file without a file extension is now apparently public.data, besidesdata". Besides I don't know how edit bbedit part, is it com.bbedit.13 (I use bbedit 13 or what else)?

Second, all the other 3rd-party apps are too old, at least 10 years old without any update.

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

The current marked duplicated Q&A does not work for me,

First, the highest two answers there said something like duti -s com.sublimetext.4 public.plain-text all but as @Seamus said in his updated answer "The accepted answer may have been correct when it was written, but does not work for current (as of approximately Catalina vintage) systems because the UTI for a text file without a file extension is now apparently public.data, besides I don't know how edit bbedit part, is it com.bbedit.13 (I use bbedit 13 or what else)

Second, all the other 3rd-party apps are too old, at least 10 years old without any update.

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

Replace Text Edit as the default text editor does not work for me,

First, the highest two answers there said something like duti -s com.sublimetext.4 public.plain-text all but as @Seamus said in his updated answer "The accepted answer may have been correct when it was written, but does not work for current (as of approximately Catalina vintage) systems because the UTI for a text file without a file extension is now apparently public.data". Besides I don't know how edit bbedit part, is it com.bbedit.13 (I use bbedit 13 or what else)?

Second, all the other 3rd-party apps are too old, at least 10 years old without any update.

Post Reopened by Seamus, Redarm, Qiulang 邱朗, nohillside macos
deleted 19 characters in body
Source Link
Qiulang 邱朗
  • 829
  • 4
  • 11
  • 22

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

The current marked duplicated Q&A does not work for me,

First, the highest two answers there said something like duti -s com.sublimetext.4 public.plain-text all but as @Seamus said in his updated answer "The accepted answer may have been correct when it was written, but does not work for current (as of approximately Catalina vintage) systems because the UTI for a text file without a file extension is now apparently public.data, besides I don't know how edit bbedit part, is it com.bbedit.(what version should I put in here?13 (I use bbedit 13 or 14 or ...)what else)

Second, all the other 3rd-party apps are too old, at least 10 years old without any update.

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

The current marked duplicated Q&A does not work for me,

First, the highest two answers there said something like duti -s com.sublimetext.4 public.plain-text all but as @Seamus said in his updated answer "The accepted answer may have been correct when it was written, but does not work for current (as of approximately Catalina vintage) systems because the UTI for a text file without a file extension is now apparently public.data, besides I don't know how edit bbedit part, is it com.bbedit.(what version should I put in here? 13 or 14 or ...)

Second, all the other 3rd-party apps are too old, at least 10 years old without any update.

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

The current marked duplicated Q&A does not work for me,

First, the highest two answers there said something like duti -s com.sublimetext.4 public.plain-text all but as @Seamus said in his updated answer "The accepted answer may have been correct when it was written, but does not work for current (as of approximately Catalina vintage) systems because the UTI for a text file without a file extension is now apparently public.data, besides I don't know how edit bbedit part, is it com.bbedit.13 (I use bbedit 13 or what else)

Second, all the other 3rd-party apps are too old, at least 10 years old without any update.

added 650 characters in body
Source Link
Qiulang 邱朗
  • 829
  • 4
  • 11
  • 22

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

The current marked duplicated Q&A does not work for me,

First, the highest two answers there said something like duti -s com.sublimetext.4 public.plain-text all but as @Seamus said in his updated answer "The accepted answer may have been correct when it was written, but does not work for current (as of approximately Catalina vintage) systems because the UTI for a text file without a file extension is now apparently public.data, besides I don't know how edit bbedit part, is it com.bbedit.(what version should I put in here? 13 or 14 or ...)

Second, all the other 3rd-party apps are too old, at least 10 years old without any update.

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

File with no extension will be opened by TextEdit by default. For example, in terminal run open ~/.ssh/known_hosts will open TextEdit to edit known_hosts

These files are normally just text file so I don't want to use TextEdit open them (e.g. I want to use BBEdit to open them) but because they have no extension I can't find an each way to change the default app to open them in one shot. Change them one by one is not workable.

So is there any way to change them in one shot?

The current marked duplicated Q&A does not work for me,

First, the highest two answers there said something like duti -s com.sublimetext.4 public.plain-text all but as @Seamus said in his updated answer "The accepted answer may have been correct when it was written, but does not work for current (as of approximately Catalina vintage) systems because the UTI for a text file without a file extension is now apparently public.data, besides I don't know how edit bbedit part, is it com.bbedit.(what version should I put in here? 13 or 14 or ...)

Second, all the other 3rd-party apps are too old, at least 10 years old without any update.

Post Closed as "Duplicate" by Graham Miln macos
added 99 characters in body
Source Link
Qiulang 邱朗
  • 829
  • 4
  • 11
  • 22
Loading
deleted 36 characters in body
Source Link
Seamus
  • 5.1k
  • 3
  • 23
  • 44
Loading
added 36 characters in body
Source Link
Qiulang 邱朗
  • 829
  • 4
  • 11
  • 22
Loading
Source Link
Qiulang 邱朗
  • 829
  • 4
  • 11
  • 22
Loading