I'd suggest to include a: -name "*.trc" in the find command, too. No need to see the errors trying to delete = the directory, and it's targeted to exactly what you're trying to = delete, instead of it deleting all files in the dir. Those kind of = things tend to burn a person after it's been faithfully running for = years. My $.02, Rich -----Original Message----- Sent: Friday, September 03, 2004 3:45 PM To: thomas.mercadante@xxxxxxxxxxxxxxxxx Cc: 'oracle-l@xxxxxxxxxxxxx'; oracle-l-bounce@xxxxxxxxxxxxx Subject: RE: trace file cleanup Be sure to do some sanity checks on the $UDUMP var before running the=20 find. And for goodness sakes, stop using -exec and use xargs: find $UDUMP_DIR -mtime +15 -print | xargs rm *Much* less CPU/memory intensive. Jared -- To unsubscribe - mailto:oracle-l-request@xxxxxxxxxxxxx&subject=unsubscribe To search the archives - //www.freelists.org/archives/oracle-l/