bash loop find code example
Example: bash for loop find
#!/bin/bash
find . -name *.mp3 |
while read filename
do
echo "$filename" # ... or any other command using $filename
done
#!/bin/bash
find . -name *.mp3 |
while read filename
do
echo "$filename" # ... or any other command using $filename
done