Skip to content

Instantly share code, notes, and snippets.

@djhunter67
Created April 9, 2023 21:13
Show Gist options
  • Save djhunter67/83db4d476d9325dc82ce7dd000f73d59 to your computer and use it in GitHub Desktop.
Save djhunter67/83db4d476d9325dc82ce7dd000f73d59 to your computer and use it in GitHub Desktop.
unrar all the things
# Must first go to the proper directory
for dir in $(find ./ -type d); do
if [ -f ${dir}/*.mkv ]; then
echo "skipping $dir ..."
continue
fi
unrar x $dir/*.rar $dir/
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment