Pipelining data of find command in an array after processing the contents of the data
I am searching for a file in a specific folder using the following command and storing it in a log file
find . -maxdepth 2 -type f -name "components.xml" -print | while read obj
basename `dirname $obj` >> avail_list.log
Here i want to do the following
1. Store each entry after processing in an array variable.
2. Use this array variables as arguments to function calls.
Here my primary objective is to store the entries from 'find' command in an array.
|All times are GMT -5. The time now is 03:23 AM.|