Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash for loop find

#!/bin/bash

find . -name *.mp3 |
while read filename
do
    echo "$filename"    # ... or any other command using $filename
done
 
PREVIOUS NEXT
Tagged: #bash #loop #find
ADD COMMENT
Topic
Name
4+5 =