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 {} +