>From: Jack Wang <jwus2001@xxxxxxxxx> >Subject: Recursively delete > >Hi all: > >If I want to recursively delete a type of file, e.g., >all *.o files in subdirectories, what should I do? > >rm -r can only be used to delete directories, right? > >Thanks. > >Jack > Try "find . -name "*.o" -exec rm <> \;" find is your friend.... Best regards. Tony Preston apreston at comcast.net 2004-01-17 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list