Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bill99

macrumors regular
Original poster
Aug 16, 2019
102
6
Hello forum

Would like to have macOS searched the whole internal and external disk for an existing file, with the following command:
(from within Terminal:)

% sudo find / -type f name "frutiger"


One of the (many) output-messages is:
find: /Volumes/Untitled/.Trashes: Operation not permitted


Question:
What I am doing wrong?


Thank's for your help!

Bill
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,481
16,194
California
Try giving Terminal full disk access in this pref. pane.

Screen Shot 2021-05-17 at 10.06.03 AM.png
 

bill99

macrumors regular
Original poster
Aug 16, 2019
102
6
Thank's for the feedback! Did follow you advice about giving Terminal "Full Disk Access",
but there are still many "error-messages".....

Any ideas what's going wrong?
Thank you!



imac-admin@imac-admins-iMac ~ % sudo find / -type f -name "frutiger"
Password:
find: /System/Volumes/Data/.Spotlight-V100: No such file or directory
find: /System/Volumes/Data/mnt: No such file or directory
find: /System/Volumes/Data/private/var/db/fpsd/dvp: Operation not permitted
find: /System/Volumes/Data/private/var/db/lockdown: Operation not permitted
find: /System/Volumes/Data/private/var/db/searchparty: Operation not permitted
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.