Use the find command in SHELL script and store the out put in one variable, and the variable out put to take necessary action in the If condition
In this case you can use the power of FIND command and achieve what you want.
|
Results 1 to 5 of 5
Thread: shell programming questionThreaded View
|
Click Here to Expand Forum to Full Width |