Files
dotfiles/scripts/shell/print-files-not-in-urls-txt.sh

8 lines
161 B
Bash
Executable File

find * -maxdepth 0 -type f -not -name 'urls.txt' -exec sh -c '
for file; do
if ! grep -q "$file" urls.txt; then
echo "$file"
fi
done
' sh {} +