Re: Replacement for unzip of .7z compressed files.
- In reply to: Steve O'Hara-Smith : "Re: Replacement for unzip of .7z compressed files."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Mar 2022 22:07:54 UTC
Steve O'Hara-Smith wrote: > On Mon, 21 Mar 2022 16:45:14 -0400 > Ernie Luzar <luzar722@gmail.com> wrote: > >> 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. > > tar xv -C /destination/directory -f archive.7z > > In extract mode -C changes directory after opening the archive. > A big thank you to everyone who responded. The -C option was what I needed. Background. I fetch very large files of FQDN of bad website on the world network to block them. On 2/23/2022 Russians against Putins war in Ukraine hacked the site and loaded scripts that use wget and are intended to attach sites in Russia for a DOS attack. Its my understanding that all contact with the public internet from Russia has been disable already by the service provider. So they can not get out and we can not get in. The point here is be aware that there are for sure other websites that have been hacked in this matter. FREE UKRAINA, STOP THE WAR.