Skip to content

Instantly share code, notes, and snippets.

@luckylittle
Created May 8, 2020 04:34
Show Gist options
  • Select an option

  • Save luckylittle/dc28079e3c669b5ac2fee71408c9b1d7 to your computer and use it in GitHub Desktop.

Select an option

Save luckylittle/dc28079e3c669b5ac2fee71408c9b1d7 to your computer and use it in GitHub Desktop.
Oneliner lists generic release folders which don't have the right amount of *.nfo and/or *.rar and/or *.sfv files in them
for x in `ls -1` ; do cd ${x}; echo ${x}\: NFOS=$(ls *.nfo | wc -l) RARS=$(ls *.rar | wc -l) SFVS=$(ls *.sfv | wc -l) ; cd .. ; done | grep -v 'NFOS=1 RARS=1 SFVS=1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment