find .-name "file*" -exec rm -f {} \;
At 09:15 AM 1/15/2004 -0800, you wrote:
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
__________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list