Skip to content

Instantly share code, notes, and snippets.

@dir01
Created March 24, 2012 20:37
Show Gist options
  • Save dir01/2187561 to your computer and use it in GitHub Desktop.
Save dir01/2187561 to your computer and use it in GitHub Desktop.
Find stuff in torrents folder not added to torrent client
ls -1 /data/torrents/ | while read NAME; do grep -qrF "$NAME" /var/transmission/config/torrents/ || echo $NAME; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment