Re: Replacement for unzip of .7z compressed files.

From: Ernie Luzar <luzar722_at_gmail.com>
Date: Mon, 21 Mar 2022 20:45:14 UTC
John Levine wrote:
> It appears that Ernie Luzar <luzar722@gmail.com> said:
>> I am trying the tar progran which the man page says it does 7-zip.
>>
>> testing using   tar xvf "${uz_dir}/${filename}" "${dl_dir}/${filename}
>>                            location of unziped     zipped file input
>>
>> What am i missing here
> 
> Probably the correct tar command.  See the tar manpage.
> 
> This works for me:
> 
> % tar xvf somefile.7z
> 
> 
> 
Problem is how do I get the extracted file into a different directory?
I have a directory named DL with 5 different named .7z files and want to 
have the unzipped version go to another directory named UZ with the 5 
.7z files having the same file names minus the .7z extension.

I have read the tar man page without any joy