hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Zip A Folder
asTHma
Well this has been pissing me off. All I would like to do is turn a whole folder into a zip file. I tried gzip -r ~/folder folder. But all that does is zip everyfile in every directory. All I want is the folder and every file within the folder, to be one file. If your confused sorry, because im still confused myself. blink.gif
sk3tch
zip -9 -r zipname folder

-9 = best compression
-r = recursive

I tested this and it works as I think you are looking for.


asTHma
yep that did it lol. I really need to spend more time with linux.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.