Threaded 'find' utility

I need to modify my version of find in unix and get it to create and use two POSIX threads to carry out concurrent finding operations.

How do i get about doing this>?

If anyone could help me it would be much appreciated.

Thanx

Mariuca

:slight_smile: I am not quite sure what you are asking
but if you want two concurrent threads on the find command at the same time from what I understand you would use something like this
find -follow -mtime 0 -o -mtime -5 f -fls file1 -printf "%i %c%p\n" > file2
the syntax for find and printf using %? is different and listed in your man pages under printf fprintf print0 fprint0 and print this includes the type of output in the listing, the time, and the type of output of the names of the files listed.. in the example I gave you -fls will redirect to file1 and -printf will redirect to file2 if you want a redirect and and and stndout use printf the same way without redirecting to file2.. this way you have a specific type of listing in file1 and your own defined stndout on the screen from printf...
i for inode.... c for last change time with day time and date p for name of files or f for name of files without directories listed before..etc etc etc
hope that helps ... try man find for more information
moxxx68:D