Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between cpio & tar

 
Minal Silimkar-Urankar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between cpio and tar?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic