In AIX really, how can I search in several directories and those below it, for files that are not of the specific permissions of 755.
So I want to search
/path/to/mydir/andthisoneto, etc., but not
If I understand correctly, you want this:
find /path -mindepth 2 -type f -not -perm 0755
Or maybe just this, if my understanding is off:
find /path/to -type f -not -perm 0755
So in the end I found the best way was this:
ls -l `find /path/to -type f ! -perm 0755`
Thanks for all those who helped me.