sudo unzip
to unzip a particular .zip archive into a password protected folder. Does this command not work on tar.bz2 archives? I tried it to update my Firefox ESR version but it failed. I did get the new FF-esr installed by extracting the Firefox folder into a non-password protected folder and then repacking it into a .zip file and then running "sudo unzip." But that's tedious. Is there a different command for .bz2 archives?Extracting zip & bz2 - different commands?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Extracting zip & bz2 - different commands?
I use the terminal command
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Extracting zip & bz2 - different commands?
http://logicassembly.com/linux/decompre ... tm?ext=bz2
I usually do them from the file manager: right click, Extract here. More information available on doing it from the command line by entering
I usually do them from the file manager: right click, Extract here. More information available on doing it from the command line by entering
man tar
in a terminal. Not sure how the password protected folder affects the normal operation of tar or the file manager.“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
Re: Extracting zip & bz2 - different commands?
I always do that from file manager ... I hit "extract here" unless there's something different needed. Had enough CLI in the 80s.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Re: Extracting zip & bz2 - different commands?
Okay, but how to download the bz2 into a password protected folder? I got a message from my browser telling my I couldn't download there.
Re: Extracting zip & bz2 - different commands?
How do you get anything else into the password protected folder? You could download it to your Downloads folder, then transfer it to the password protected folder the same way you put anything else in there.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
Re: Extracting zip & bz2 - different commands?
Okay, thanks. Just looking to do this in the least amount of steps as possible.