Files
shell-scripts/identify-missing.sh
T

10 lines
258 B
Bash
Executable File

#!/usr/bin/env 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