Re: mdfind – How to Find a Specific Word?
Re: mdfind – How to Find a Specific Word?
- Subject: Re: mdfind – How to Find a Specific Word?
- From: 2551phil <email@hidden>
- Date: Wed, 15 Mar 2017 12:08:30 +0700
On 15 Mar 2017, at 11:57, Shane Stanley < email@hidden> wrote:
You can use a compound predicate:
mdfind -onlyin . '(kMDItemFSName == "find"c) || (kMDItemFSName == "* find *"c) || (kMDItemFSName == "find *"c) || (kMDItemFSName == "* find"c)'
You beat me to it. I was just playing around with the same thing. I got stuck though, as that won’t find
~/Desktop/find.txt
or something like
~/Desktop/Search-and-find-files.txt
Best
Phil |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden