I want to save the output of the find command in $path variable, and save the execution time of this command in t variable.
something like this, but its incorrect.
t=`time path=`find . -type d -iname "$x"` `
the blow command works well, but this is in the loop and I want to have the sum of the time in a variable
time path=`find . -type d -iname "$x"`
$()