Anurag Bhandari says:
If logged into KDE, I prefer right-clicking on the folder to be compressed and selecting Compress > Compress as > folder.zip.
Isn’t that simple..?
That’s simple enough, but I’m working on a linux server through telnet, instead of UI.
For zip a folder i got idea from your site by searching google.co.in website. But using that
zip -9 -r it is not working in my shell. i dont know y it is not working.
while doing this command it say’s “nothing to do ” wat is it means then wat i have to do next.
Please guide me.
Waiting for your reply………….
In my attempt to simulate your problem I performed the following command.
zip -9 -r playground.zip
And I get the following error:
zip error: Nothing to do! (playground.zip)
If that’s the case, I think you forgot to specify the target folder. You need to enter the following command (assuming I have a ‘playground’ folder):
zip -9 -r playground.zip playground
very simple and seem work fine, thanks for your tips
I have executed the command specified above. Both r working fine
IT WORKS , and solved my major problem……
Thanks, that worked on a Suse 10 box that was mistakenly installed with no GUI by a I-want-to-control-everything-tourist-consultant-know-it-all that was hired (mistakenly) for a couple of months by our company.
Thanks a lot you just saved my ass I couldn’t remember it for the life of me!
Thank you for sharing. It did help me lots…
you have blog and i learn a lot from your blog. thanks BUDDY
Do i need to have root access to use this command? I tried it and it said 0% stored and i did this under my regular username. I would try root but they don’t want to give me root password which is lame.
Thanks! I forgot that specific command order:
zip -r output input
instead of so common input output… :d
Thanks Mr. EngLee
that was easy enough.
Ifeanyi Aneke says:
Thanks for the post. It really was useful. Thanks once more.
Naz Hasan Huda says:
Thanks a lot for sharing this. Worked like a charm. Simple command does the job pretty well. And best feature is that the produced zip file is usable in both windows & linux. You are THE MAN…