unrar all rar files in a directory with linux

Here is my go-to for loop:

for file in *.rar; do unrar e "$file"; done

xargs puts arguments behind the command provided to it up until the maximum command length for your current shell, so the command would be:

xargs unrar e damned_file.rar another_damned_file.rar yadf.rar

However, unrar only takes a single rar file as argument. The find command you specified runs unrar for every single file it finds, so the command is unrar e damned_file.rar, unrar e another_damned_file.rar.