Unix gurus,
I am using kshell and am familiar with the unix find command along with its logical expressions.
eg : find / -name "a*" \( ! \( "*.bz2"-o -name "*.gz" \) \) -print
to find all files with a and does not have an extension .bz2 or .gz.
I need to conduct the find excluding some directories, for example i need to avoid find searching in directories /europe and all its subdirectories and /asia/china and all its subdirectories.
Do you have any thoughts?
Thanks in advance
philipose
I am using kshell and am familiar with the unix find command along with its logical expressions.
eg : find / -name "a*" \( ! \( "*.bz2"-o -name "*.gz" \) \) -print
to find all files with a and does not have an extension .bz2 or .gz.
I need to conduct the find excluding some directories, for example i need to avoid find searching in directories /europe and all its subdirectories and /asia/china and all its subdirectories.
Do you have any thoughts?
Thanks in advance
philipose