This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes diff between -cvf and cf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "diff between -cvf and cf" Watch "diff between -cvf and cf" New topic
Author

diff between -cvf and cf

swathi valasala
Greenhorn

Joined: Feb 24, 2008
Posts: 4
jar cvf example.war .
jar -cvf example.war . whats the difference between them please send reply im using windows when i used the jar -cvf example.war. is it correct
[ February 29, 2008: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63349
    
  70

A few things. First, please do not post in all uppercase -- read this for more information.

Also, please take the time to choose the correct forum for your posts. This forum is for questions on Servlets.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20132
    
  30

The v stands for verbose, which means it's exactly the same except cvf prints a lot more information to your console.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The v is for verbose.

If you type just jar at the command line, you should see a help screen with a list of the switches and what they do:



Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: diff between -cvf and cf
 
It's not a secret anymore!