Extract all zip and rar archives in the current directory

atool

atool --each --extract {{*.zip *.rar}}

click the source code to copy install atool on any operating system with command-not-found.com