View Single Post

   
  #1 (permalink)  
Old 01-05-2008, 06:03 AM
shpot4@yahoo.com
 
Posts: n/a
Default find command and excluding files under specific directories


Help with find and excluding files under specific directories.
For these specific dirs, I want to exclude all files under, but keep
the directory names.

/opt/2004/jan
/opt/2004/feb/logs
/opt/2004/mar/outs

Could someone please tell me the correct syntax I should use for my
find command? And don't tell me to read the man pages, because I've
done that!

Cheers!

Reply With Quote