superstarjpmc
Programmer
Hi,
I want to search a list of directories using a find command, by applying an exclusion.
say: find /tmp/ /var/ /opt/ -type d -print
If I want to exclude the directory and its subdirectories..(i.e.) I dont want my 'search criteria' to have /opt/varlog /opt/myfiles/, but still want to search all other subdirectories under /opt.
Can anyone lend a helping hand ?
regards
DJ
I want to search a list of directories using a find command, by applying an exclusion.
say: find /tmp/ /var/ /opt/ -type d -print
If I want to exclude the directory and its subdirectories..(i.e.) I dont want my 'search criteria' to have /opt/varlog /opt/myfiles/, but still want to search all other subdirectories under /opt.
Can anyone lend a helping hand ?
regards
DJ