An easy fix is to use EasyFind to look for and inside files. Easyfind is quick and versatile. You can select the type of files to look in if you want or just scan them all. Not as quick as Spotlight but more settings to control where you look. The app is free.
Spotlight let’s you exclude results quite easily using regex like syntax and SQL like syntax. Why not craft a smarter search and let it index this folder?
You can drop a newer index file in it and remove that file when you wish to include results as well. Pretty low impact since you’re about to index that folder one way or another and Spotlight is very ...
Spotlight allows this and is my favored tool, despite how painful it is to learn how to do this from Apple's documentation alone. The man page for mdfind is almost criminally negligent for not mentioning how to search for a string, but I shall not rant too much more on that here.
mdfind 'kMDItemTextContent = "this exact string"'
Pay attention to the double ...
ag can search hidden files by file name.
ag --hidden -g ".swiftlint.yml" ~/
How to install
brew install the_silver_searcher
rg is faster than ag.
rg --files --hidden ~/ |rg ".swiftlint.yml"
How to install
brew install ripgrep
For whatever reason, on my system, Spotlight does not find all .exe files. Using, separately, .exe or exe it only finds some files. Using filename.exe it does find it.
As an alternative, you can use the find command from Terminal to find any file you want, e.g.:
find . -type f -iname '*.exe'
In the find command above . is the PWD, which by default is your ...
I finally figured out a way to do it. I've kept the Auto Swoosh setting on but I've changed the way I open safari. I created a new application using automator with a single applescript block. It has the following code:
tell application "Safari"
make new document
The order is important because its what prevents the spaces switching ...
I was cleaning up the thousands of CDs and DVDs that have accumulated over the decades and one got stuck in the external Mac Apple "Superdrive." I tried all the tricks to eject it, including rebooting. Then the OS wouldn't even show that the external drive existed. There were lots of suggestions online of how to eject the DVD and I tried most of them -- ...
From what I know that number is not a 100% based usage, i.e. that 11.9 and 9.6 do not mean it takes up 11.9% and 9.6% of the whole CPU processing power.
For a dual core CPU, 10 in that column means it used up 10% of a core only, i.e. 5% of the whole CPU.
So for a 8 cores CPU, 100% usage of the whole CPU the number showed for a process should be 800 but ...
When you close Spotlight by clicking outside it retains the text you entered in the text box. Deleting the text calmed the process down. My advice is to click/tap Esc two times when you're done with Spotlight. The first click clears the text box, the second one closes Spotlight.
Tip: you can go to any folder accessible from your Mac by hitting cmd+shift+G on your keyboard (whilst being in Finder)
According to this answer you can do the following:
• Quit Mail if it’s open.
• In ~/Library/Mail/V7/MailData, delete any file that begins with “Envelope Index,” such as Envelope Index or Envelope Index-shm.
• Your home Library folder is ...