danielecook
3/29/2019 - 10:48 AM

Test whether file or directory do not exist

Test whether file or directory do not exist

while read f; do
    if [[ ! -f "${f}" && ! -d "${f}" ]]; then
        echo "$f not found"
    fi
done <file_paths.txt