1
vote
4answers
69 views

Terminal: Adding logic to 'find' directories containing either [criteria A] or [criteria B]

I have inherited a vast media archive without a unifying organizational scheme. Its contents date back at least 10 years. I have been asked to find a needle in this hay stack, and I have some guesses ...
2
votes
1answer
221 views

Use find in Terminal to remove directories and files of same search parameter

If I type the following into Terminal, it will remove all files that meet the search parameter: sudo find . -type f -name "*Xilisoft*" -exec rm -rf {} \; Then if I start again and type it with d ...
3
votes
2answers
568 views

Can “mdfind” search for phrases and not just unordered words?

Is there a way to search for an exact phrase using the mdfind utility? For example, I created two text documents titled "test1" and "test2". The contents of "test1" are: I love Apple And the ...
2
votes
2answers
73 views

How can I add an action to search for the selected Terminal text in Google?

I want to be able to add an action to search Google with any selected text in Terminal. Any ideas?
5
votes
3answers
697 views

When is the locate database updated?

I use the locate command in Terminal regularly. When does its database get updated? On other systems, I could run updatedb as root to force it to update. Note: I know using mdfind to search with ...