Skip to content

Instantly share code, notes, and snippets.

@digitalsparky
Created December 7, 2021 21:29
Show Gist options
  • Save digitalsparky/e336a1c1653e74b1cf00773f96b897e2 to your computer and use it in GitHub Desktop.
Save digitalsparky/e336a1c1653e74b1cf00773f96b897e2 to your computer and use it in GitHub Desktop.
Find sid-updates for Chris
#!/bin/bash
for file in $(find . -iname "*.list" -type f); do
grep -i sid-updates $file > /dev/null 2>&1
if [[ $? -eq 0 ]]; then
echo "FOUND IN: $file"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment