Skip to content

Instantly share code, notes, and snippets.

@warmwaffles
Last active December 26, 2015 08:29
Show Gist options
  • Save warmwaffles/7122390 to your computer and use it in GitHub Desktop.
Save warmwaffles/7122390 to your computer and use it in GitHub Desktop.
for f in $(find . -name \*.rar) ; do
dir=./unrared/${f%/*}
mkdir -p $dir
unrar x -o- "$f" $dir
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment