ICT: Diary
D: 28 W: 05

< February 2020 >
Sun Mon Tue Wed Thu Fri Sat
 1
2345678
9101112131415
16171819202122
23242526272829

Based on notaweblog.php by joshua stein

[ ] Friday, 28 February 2020 [ ]

CLI on Mac OS X

When using find on mac OS X you often get lots of Operation not permitted messages. The easiest way to avoid this is redirect stderr to /dev/null:

 find . -name "file*name" 2>/dev/null
however, this will hide all errors which might not be what you want, a better approach might be:
find / -type d -name msc 2>&1 |grep -vi "permi[st]"

os xmacfind


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $