Adds print-files-not-in-urls-txt.sh
This commit is contained in:
7
scripts/shell/print-files-not-in-urls-txt.sh
Executable file
7
scripts/shell/print-files-not-in-urls-txt.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
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 {} +
|
||||||
Reference in New Issue
Block a user