Files
shell-scripts/identify-missing.sh
T
2019-11-15 19:27:27 +00:00

9 lines
249 B
Bash
Executable File

#!/bin/bash
# identify-missing.sh ./* < file_list.txt
# will list all files from file/input which is not present in the given loction.
while IFS= read -r name; do
[ -n "$(find . -name "$name" -print | head -n 1)" ] || printf '%s\n' "$name"
done