[techtalk] find

Birgit Schmid Birgit.Schmid at ecrc.de
Mon Jan 3 14:27:06 EST 2000


On Mon, Jan 03, 2000 at 01:01:08PM +0100, steph wrote:
> What's a way to find all files ending in O regardless of what's
> before the O?  Most of the files are created by a patching
> program I'm running for Oracle Applications, and it backs up
> it's changes by tacking an O on the end.  I can guess at the
> likely ones (.o -> .oO, .rdf -> .rdfO), but what about the less
> likely ones?
> 
find <place where to start> -name "*O" 

for getting the original name:

find <place where to start> -name "*O" -exec basename {} O \;

-birgit


************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list