I tend to download many files, most of which are all placed into their own folder within my downloads directory. Instead of going into each folder to uncompress the contents, I wanted to run a single command to achieve this in a timely manner.

Using the simple find command below, you can uncompress multiple folders sequentially, one after another.

find downloads/ -name '*.rar' -execdir unrar e {} \;

Of course, you will need to change the directory, and if you want to use this on zip, tar, etc, you will need to adjust the unrar e aspect to fit the proper command for the file type.