Created
March 29, 2019 10:48
-
-
Save danielecook/61bef5d628b14d7df553e73576c7ff53 to your computer and use it in GitHub Desktop.
Test whether file or directory do not exist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while read f; do | |
if [[ ! -f "${f}" && ! -d "${f}" ]]; then | |
echo "$f not found" | |
fi | |
done <file_paths.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment