daveyu
asked on
find command - don't tranverse subdirectories
Hi,
I have written a find command using GNU find (findutils) to find files greater than 30 mins old, but not in the
subdirectory "sumitted" as:
/usr/local/bin/find ${WO_FAXES_DIR} -name submitted -prune -o -type f -cmins +30 -print
But how can I also skip the $WO_FAXES_DIR/bad subdirectory?
I have written a find command using GNU find (findutils) to find files greater than 30 mins old, but not in the
subdirectory "sumitted" as:
/usr/local/bin/find ${WO_FAXES_DIR} -name submitted -prune -o -type f -cmins +30 -print
But how can I also skip the $WO_FAXES_DIR/bad subdirectory?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.