wood burning stoves*
The moose likes Meaningless Drivel and the fly likes Zip a zip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Zip a zip" Watch "Zip a zip" New topic
Author

Zip a zip

Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

If I want to compress "my documents" to my documents.zip. What happens if I have in zip files already in this folder?


Jesus lives
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42612
    
  65
It works fine. The file won't get compressed any further, of course.


Ping & DNS - my free Android networking tools app
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

It works fine. The file won't get compressed any further, of course.


Wrong ! The zip file will explode and your hard disk will crash with a screech. Only WD40 can stop the screeching.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
I find turtle wax also works. Especially if you apply it beforehand as a preventative measure. Better safe than sorry, after all...


"I'm not back." - Bill Harding, Twister
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61653
    
  67

Originally posted by Jim Yingst:
I find turtle wax also works.


Luddite! I find that lubricating nanites work best.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

You can prevent the hard disk from exploding by applying external pressure to counter the pressure-build up in the recursive zip files. Putting a stack of heavy books on top the case works to some extent (about 5 stone) but the best thing to do is submerse it in non-conducting fluid like vegetable oil to a depth of 30 feet or more.


[Jess in Action][AskingGoodQuestions]
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Never zip a zip file otherwise you will have to unzip it twice. :roll:
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2861
    
  11

Nikos, you're never going to get anywhere with computers if don't adopt a "try it and see what happens" approach. As my old Apple II+ manual said, you aren't going to damage the computer just by typing on the keyboard, unless you type on it with a hammer.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
My computer is very slow.
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
That's because you're too nice to it.
Do as bosses do, threaten to fire it (putting a flamethrower within sight of it helps) or cut its vacation allowance.
Whipping also helps, shouting can be effective at times.


42
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by Jeroen T Wenting:
That's because you're too nice to it.
Do as bosses do, threaten to fire it (putting a flamethrower within sight of it helps) or cut its vacation allowance.
Whipping also helps, shouting can be effective at times.


I don't have anyone who shouts... probably I should get married soon.
Devesh H Rao
Ranch Hand

Joined: Feb 09, 2002
Posts: 687

Originally posted by rathi ji:
My computer is very slow.


Plug it into two power sockets at the same time, it will run twice as fast...
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Originally posted by rathi ji:


I don't have anyone who shouts... probably I should get married soon.


I thought you have your landlord to shout on you


My blood is tested +ve for Java.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Research suggests computers run twice as fast when mounted on a Shinkansen
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by John Meyers:
Research suggests computers run twice as fast when mounted on a Shinkansen


What it cost??? I hope less than 1 GB RAM.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by Chetan Parekh:


I thought you have your landlord to shout on you


We are shifting and new flat is near Hyderabad Central.
Maureen Augustus
Ranch Hand

Joined: Aug 18, 2006
Posts: 72
Originally posted by Greg Charles:
As my old Apple II+ manual said, you aren't going to damage the computer just by typing on the keyboard, unless you type on it with a hammer.


Or a cat.
[ November 22, 2006: Message edited by: Maureen Augustus ]

"Sex and drugs and women being set on fire! I've never heard of such a Christmas!" - Christine Baranski in "The Ref"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Zip a zip