find command for <number>.out files?

From: Daryl.Mitchell@us.o-i.com
Date: Wed May 18 2005 - 15:42:32 EDT


Sorry for the 'less than critical' question, but here goes:

I need to find and eliminate all files that are named <string of
numbers>.out . For example:

/appls/dbs/jobserv/tolprod01/16287.out
/appls/dbs/jobserv/tolprod01/6576.out
/appls/dbs/jobserv/tolprod01/521.out

So find (with xargs) comes to mind, but how do I match a filename with a
varying length of numbers (and numbers only) as above?

-name '[0-9].out' <-matches only 1 number like 5.out

Thanks
Daryl
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:44 EDT