On Sun 16 Jan 2022 at 18:59:49 (+0300), Gokan Atmaca wrote: > > I have hundreds of 7z compressed files in different folders. I want to > open them. Every extracted file must be in the same directory. How can > we do this?
$ cd destination-directory-for-extracted-files $ find top-directory-of-tree-containing-archive-files -type f -name \*7z -exec 7z e {} \; If the archives are not in one tree, but dispersed, you can specify multiple directories between "find" and "-type". Cheers, David.