From the user input and the same has to be passed to find command dynamically .
I will explain to you in detail.
Initially i will ask the user how many files does he need to find . for Ex:- user enters 2 then we should allow him to enter 2 file names .This shell script should find these 2 files along with the path.
Like this .. the user might enter any no of files to find .....
I have tried manually to find multiple files using find command it worked but i have problem taking file names dynamically.
Manually we can find like this ..
find /apps12i -type f -name filename1 -o -name filename2
Thank you !!
Quote:
Originally Posted by catkin
OK. Where from? From command line, user input or find command?
|