Good command-line zip utilities?

trmiv

Lifer
Oct 10, 1999
14,670
18
81
Can anyone recommend a good command-line zip utility I can use to automate zipping a lot of files with a script?
 

trmiv

Lifer
Oct 10, 1999
14,670
18
81
BTW, I forgot to mention it has to be free, because no way is my cheap-ass boss paying for a zip utility to make my life easier, god forbid he should do that.


Searching for DOS-rar leads me to like 500 "crackz" sites.
 

trmiv

Lifer
Oct 10, 1999
14,670
18
81
OK, I found something. Apparently I'm too stupid to figure out the syntax though, because I can't get the damn thing to zip any files.
 

trmiv

Lifer
Oct 10, 1999
14,670
18
81
Does gzip only create .gz files, or will it do .zip? These have to be zip files.
 

trmiv

Lifer
Oct 10, 1999
14,670
18
81
OK, nevermind. Turns out we have the 2000 server resource kit here which has compress.exe. works great.

Ugh, compress.exe refuses to create zip files that winzip can open. I can open them with winrar, but winzip is a no go. They have to work with winzip, which like 90% of our customers probably use.
 

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
tell your cheap ass boss its going to cost him, and to get used to it; considering his services arent free, why should someone else's be? if this was something you were doing at home id understand wanting something free, but for a business? my boss is a tight ass but even he will pay for something if its necesarry to the business, damn
 

trmiv

Lifer
Oct 10, 1999
14,670
18
81
Originally posted by: xSauronx
tell your cheap ass boss its going to cost him, and to get used to it; considering his services arent free, why should someone else's be? if this was something you were doing at home id understand wanting something free, but for a business? my boss is a tight ass but even he will pay for something if its necesarry to the business, damn

lol, you're preaching to the choir here man. i just fired off an email to my boss requesting pkzip, and giving my reasons why. we'll see what happens.
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
Do you still need this commandline utility? If so, I can throw one together. I found a library that does zipping and unzipping and I don't mind writing the containing application. If you would like me to, what options would you like? Do you mind if this runs as a .NET application? The library I have is written in C#, and .NET is my preferred development environment right now.
 

trmiv

Lifer
Oct 10, 1999
14,670
18
81
Originally posted by: Nothinman
Did you even look at info-zip.org?

yes, that's the first one I found, i can't get it to zip any files, it insists the files im trying to zip are not valid. i must be doing something wrong, but i haven't had time to figure it out.