Based on #771 - Thanks to @CaptChrisD for getting it started!
find in that last few MacOS versions have been slightly different from one another which causes confusing errors when trying to use the -not -path arguments to filter out files from stripping.
This changes to use simple bash loop to filter those out since the .noscrub directories are usually few and this reduces changes of future OS version randomly breaking (and us having to learn all the nuances of find between systems)
Based on #771 - Thanks to @CaptChrisD for getting it started!
find
in that last few MacOS versions have been slightly different from one another which causes confusing errors when trying to use the-not -path
arguments to filter out files from stripping.This changes to use simple bash loop to filter those out since the
.noscrub
directories are usually few and this reduces changes of future OS version randomly breaking (and us having to learn all the nuances offind
between systems)