Peppermint OS Community Forum

Support => Software & Applications => Topic started by: Jono on June 26, 2014, 10:32:14 pm

Title: Unzipping files. (Solved)
Post by: Jono 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?
Title: Re: Unzipping files.
Post by: mac 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
Title: Re: Unzipping files.
Post by: Jono 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.
Title: Re: Unzipping files.
Post by: PCNetSpec 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 ?
Title: Re: Unzipping files.
Post by: Jono 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.
 
Title: Re: Unzipping files.
Post by: PCNetSpec 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.
Title: Re: Unzipping files.
Post by: rjm65 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...
Title: Re: Unzipping files.
Post by: mac on June 27, 2014, 09:16:00 am
If you get errors using....
Code: [Select]
unzip *.zip
....use the command
Code: [Select]
unzip '*.zip'
Title: Re: Unzipping files.
Post by: Jono 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.
Title: Re: Unzipping files. (Solved)
Post by: PCNetSpec on June 27, 2014, 09:55:11 am
You're most welcome :)

and Thanks :)
Title: Re: Unzipping files. (Solved)
Post by: Jono 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.
Title: Re: Unzipping files. (Solved)
Post by: mac on June 27, 2014, 11:31:16 am
Hey, you've got it now.  Enjoy!
Title: Re: Unzipping files. (Solved)
Post by: Jono 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?