Dave G. <[EMAIL PROTECTED]>:

> find / \( -perm +4000 -o -perm +2000 \) -type f -exec ls -l {} \;

find has its own built-in version of ls (emulates -gilds)
so "-ls" will be faster than "-exec ls -l".

And visit my website if you need to distinguish between
text and binary files using find (patch for an outdated findutils.)
I might even update it if I get any time, haha.


--
##############################################################
# Antonomasia   [EMAIL PROTECTED]                      #
# See http://www.notatla.demon.co.uk/                        #
##############################################################


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to