Hi,
I have a find command that searches for all the .properties under current directory and its subdirectories.
I would like to pass the output of the above find command to my "operation.sh script as the second parameter.
for eg:
./operation.sh 775 [results of the above find command one by one]
So if the above find command returned 7 properties files the operations.sh should run 7 times taking each result as the second input.
Can you please suggest how can I ?
I have a find command that searches for all the .properties under current directory and its subdirectories.
Code:
find . -name "*.properties"
for eg:
./operation.sh 775 [results of the above find command one by one]
So if the above find command returned 7 properties files the operations.sh should run 7 times taking each result as the second input.
Can you please suggest how can I ?