The result of the following script:
results=$(find -iname "*.mp4")
echo $results;
is something like:
file1 file2 file3
How do I pass the results of the find command to a variable, as it is shown when I run the following command in terminal:
find -iname "*.mp4"
which prints:
file1
file2
file3