Bash stuff

tldp.org/HOWTO/Bash-Prog-Intro-HOWTO

loop through items in a file

#!/bin/bash
        while IFS= read -r file
        do
#echo "$file"
                [ -f "$file" ] && echo "$file"
        done < "./data.txt"

Leave a Reply