Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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: 18014
47
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