File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes difference between cpio & tar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "difference between cpio & tar" Watch "difference between cpio & tar" New topic
Author

difference between cpio & tar

minal silimkar
Ranch Hand

Joined: Nov 25, 2007
Posts: 133
What is the difference between cpio and tar?


Minal Silimkar
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

More or less, tar is like ZIP - an archive of files, whereas cpio is more like a volume backup. Cpio is probably not as popular as it used to be, although Oracle has been known to ship in cpio format. Tarballs can be unpacked by WinZip, but as far as I know, not cpio archives.

If you Google for "cpio vs tar", you'll discover a number of comparisons that people have done between the two.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Don't get me started about those stupid light bulbs.
 
subject: difference between cpio & tar