Questions tagged [mdfind]

2 questions
0
votes
1 answer

MacOS - mdfind : How to find identical files from a content point of view with a given file?

I am looking for a way to find (one)/(multiple) files that (is)are identical to a given argument file. I would like to perform this with mdfind command which is really fast. The command to apply would be for example like : mdfind…
user1773603
-1
votes
1 answer

macOS xargs will not open app found by mdfind and grep

I'm looking for one command that find path and open all of .app with only change app name in Terminal. I tried : mdfind "calendar.app" "kind:app" | grep -v '/Users/' | xargs open Work well with calendar, safari, calculator --> find and open…
Vitiligo
  • 5
  • 1