Can't unzip .zip files in Xubuntu 12.04 64-bit
go to the command line ctrl
+ alt
+ t
, cd
to the directory the file is contained in like so:
cd /path/to/dir
Then use the unzip
command to extract the file into the current directory:
unzip file.zip
You can also unzip a file into a directory of choice by using the '-d' flag:
unzip file.zip -d /path/to/dir
I believe unzip comes pre-installed on 12.04 but if not type the following command into the terminal to install:
sudo apt-get install unzip
Hope this helps and let me know if you need any clarification.
Related videos on Youtube
Syed Ali Taqi
Updated on September 18, 2022Comments
-
Syed Ali Taqi almost 2 years
I have a static HTML container div like this:
<div id="dvExchangeNames"> </div>
on
document.ready()
event, I get some strings using Ajax call and append each of string asdiv
content inside the containerdvExchangeNames
. The new HTML looks like this:<div id="dvExchangeNames"> <div class='drop'> Foo </div> <div class='drop'> Bar </div> </div>
I need to bind
ondrop
event on the div with drop class. So I do it like this using event bubbling:$("#dvExchangeNames").on("dropstart", ".drop", function () { $(this).addClass("active"); }).on("drop", function (ev, dd) { $(this).toggleClass("dropped"); }).on("dropend", function () { $(this).removeClass("active"); });
The problem is that it adds, toggles and removes the classes from
dvExchangeNames
but I want this to be done with the child div which actually fired thedropstart
event.As obviously,
$(this)
selects the parent div. I tried$(e.target).addClass()
but it didn't work. I'm using THIS jQuery plugin to get multi select functionality using drag-drop.-
Alter Lagos almost 11 yearsAre you sure the files are not corrupted? or maybe they are not really a zip file? you could check them in a terminal with
file yourzipfile.zip
-
-
Jason Smith almost 11 yearsEven using unzip in the command line wasn't opening the files. I suspect flareget was somehow corrupting or not downloading the files right. As soon as I ditched flareget and installed downthemall I have had no problems with downloading and opening .zip files now.
-
Syed Ali Taqi over 8 years@Guruprassad Rao: I tried adding the delegation event but it didn't work. Can you provide a code example?
-
Guruprasad J Rao over 8 years@SyedAliTaqi I could have but am not able to create a demo since the plugin isn't available as a
CDN
.. I tried copying all thejs
but unfortunately not able to replicate the feature in fiddle.. -
Syed Ali Taqi over 8 years@Guruprassad Rao: I switched to this plugin and its working fine. Thank you for your help.