This article describes how you can use the for loop in bash shell to extract multiple files of the following types through the Debian command line: Zip files, Tar.xz files, Rar files, and 7z files.
Source: LXer – Simultaneously Unzip or Unrar multiple files in Debian 10