Quote:
Originally Posted by
chakrapani
Actually what you are doing seems right ... Look athe man page
find -- find files within file tree
find -- find files within file tree
But there might something missing in env... Can you do find command and try to get exit code $? and compare from man page ..
The exit code is 1. And below are the various exit codes. Please help.
Possible exit status values are:
0 Successful completion.
1 Failure due to any of the following:
- insufficient memory - invalid character specified after
-type - cannot obtain information on a file for
-newer - invalid permissions for
-perm - cannot open a file for the
-cpio option - unknown user or group name - cannot access the
PATH variable - cannot execute a command specified for
-exec or
-ok - syntax error - stack overflow caused by an expression that is too complex 2 Invalid command line option, not enough arguments on command line, missing argument, or argument list that isn't properly terminated.