[LUNI] Re: Basic "find" question -- take 2

Fred Yankowski fred at ontosys.com
Fri Jun 22 08:26:33 CDT 2007


On second thought, I should have suggested this:

  find .        -path '*/Dir_name/*' ! -type d -print0 | xargs -0 rm
  find . -depth -path '*/Dir_name/*'   -type d -print0 | xargs -0 rmdir

-- 
Fred Yankowski


More information about the luni mailing list