Recursively go thorough subdirectories and checkout files

Hi,

I would need to go through all the subdirectories, find each file and would need to check them out(using clearcase, which I know).

But could you please help me how to find all the files under all subdirectories.. there could be multiple directories and subdirs...

Sas

> find . -name "*.*" -type f

suppose if you want to execute something on the file, for example if you want to find the no of lines in all the files, you can use the below.

> find . -name "*.*" -type f -exec wc -l {} \;

instead of "wc -l" you can give any commands.

The command is called find.

you can use it as follows

find ./ -xtype f | xargs cleartool co