shell - Unix find and file commands questions -


i'm trying give find command run file command every regular file within current file system subtree. i'm trying pass results from: find . -type f command 'file'.

this command i'm trying: find . -type f | file *

should using > or different argument file?

find , xargs go umm… find , xargs:

find . -type f | xargs file 

or if want more careful:

find . -type f -print0 | xargs -0 file 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -