Bash: Loop over results from find

Example:


#!/bin/bash
find / -name "*" -print0 | while read -d $'\0' file
do
        echo "found $file"
done

Comments

Popular Posts