Choose style:

Author Topic: Unzipping files. (Solved)  (Read 3252 times)

0 Members and 1 Guest are viewing this topic.

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Unzipping files. (Solved)
« on: June 26, 2014, 10:32:14 pm »
What is the easiest way to unzip a winzip file? One by one is a bit laborious. Do I need to install an App?
« Last Edit: June 27, 2014, 09:42:46 am by Jono »

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Unzipping files.
« Reply #1 on: June 26, 2014, 10:57:03 pm »
Double-click on the .zip file and Archive Manager should open it. 

EDIT: You can also use the unzip command in your terminal...
cd to the directory where the zip file lives and....
Code: [Select]
unzip nameoffile.zip
« Last Edit: June 26, 2014, 11:01:56 pm by mac »
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Unzipping files.
« Reply #2 on: June 27, 2014, 05:27:46 am »
Sorry I used the wrong terms. I'd like to turn it into its individual components. I have lots of zip files and I don't always know what's in which. At the moment I'm extracting individual parts into a new file then manipulating them which is quite time consuming and I thought there must be a quicker option. Current issue is a follow on from my last post- I want to open them in GIMP which thanks to Mac is working well.
« Last Edit: June 27, 2014, 05:31:35 am by Jono »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25946
  • Karma: 2836
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unzipping files.
« Reply #3 on: June 27, 2014, 05:44:01 am »
I'm still confused by the question ?

You want to unzip multi-part zip files ? .. or want to unzip all zip files in a directory at once ?

or want to unzip just one particular file from a zip ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Unzipping files.
« Reply #4 on: June 27, 2014, 07:59:11 am »
Sorry again- I muddied the waters by asking two questions.  I was trying too hard to keep it short and my problem is compounded by my level of ignorance.
I'm doing 2D engineering drawings for the Museum of Western Australia, who have sent dozens of individual and zipped files of mixed dimensioned sketches, photos and laser scans to the extent that it's now taking too much time looking for just one item. I've separated the three categories but I'd like to "explode" the zipped files into one list so I don't need to look at several zips before I find what I'm looking for and then open it in whatever.
If I understand your question properly, I think I want to permanently unzip all zip files in one directory.
 

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25946
  • Karma: 2836
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unzipping files.
« Reply #5 on: June 27, 2014, 08:39:48 am »
Create a directory in your home folder called say "unzipped" with:
Code: [Select]
mkdir ~/unzipped
You'll now see a folder called "unzip" in your home folder (where File Manager opens)

Place all your zip files there

then to unzip them all at the same time .. make that the current directory:
Code: [Select]
cd ~/unzipped
then unzip ALL files that end with .zip in that directory with:
Code: [Select]
unzip *.zip



I suppose theoretically (though I've not tried this .. you could do it through the GUI by dragging a bounding box arouns all the zip files (so they're all selected, then right-click one of them and select "Extract here".

another way to select multiple files is to hold Ctrl .. then click the files you want to select ONCE.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline rjm65

  • Veteran
  • ****
  • Posts: 1004
  • Karma: 300
  • I have Peppermint Fresh Breath. :P
    • View Profile
  • Peppermint version(s): Win-98 /Win-7/ Peppermint 9
Re: Unzipping files.
« Reply #6 on: June 27, 2014, 08:45:04 am »
If he moves only the zip files to that unzipped folder he could use the gui and just do ctrl-a to highlight them all then he could right click all the highlighted files and do his unzip...
Robert
Peppermint 9 User

Gateway Solo 9300 Pro
IBM T40

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Unzipping files.
« Reply #7 on: June 27, 2014, 09:16:00 am »
If you get errors using....
Code: [Select]
unzip *.zip
....use the command
Code: [Select]
unzip '*.zip'
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Unzipping files.
« Reply #8 on: June 27, 2014, 09:39:57 am »
Thanks that's great. I've got plenty to get on with. I'll mark it solved and work it out.
Congrats again on P5.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25946
  • Karma: 2836
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unzipping files. (Solved)
« Reply #9 on: June 27, 2014, 09:55:11 am »
You're most welcome :)

and Thanks :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Unzipping files. (Solved)
« Reply #10 on: June 27, 2014, 11:09:49 am »
There's usually more than one way of doing things like this and the way I had been using must have been the most long winded and complex of all! That's the trouble with learning by yourself. Hey ho.

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Unzipping files. (Solved)
« Reply #11 on: June 27, 2014, 11:31:16 am »
Hey, you've got it now.  Enjoy!
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Unzipping files. (Solved)
« Reply #12 on: June 27, 2014, 11:50:18 am »
Yes indeed. Many thanks yet again. I wish I could reciprocate. Anyone want to know about mid 19th century warship engines?