CPIO is the most widely used archival tool by Oracle apart from ZIP archival. CPIO means -- CoPy In CoPy Out
CPIO was earlier being used for tape archivals like its counterpart TAR. CPIO always needs an standard input for archiving or for extracting the same. CPIO takes over other counterparts by archiving the files comparitively smaller than others do. I have never tested this but will surely try it and try to update the blog in sometime.
Following are the few useful commands that you should know before un-archiving any CPIO file.
1. To extract a CPIO file.
cpio -id <> any.CPIO
Here -o signifies cpio to read the standard output and copy it the files onto standard output
-v signifies verbose which will list all the file names
> signifies standard output file
Other advanced options can be found with the man pages on your OS.
Refer: http://www.bellevuelinux.org/man/cpio.1.html
CPIO was earlier being used for tape archivals like its counterpart TAR. CPIO always needs an standard input for archiving or for extracting the same. CPIO takes over other counterparts by archiving the files comparitively smaller than others do. I have never tested this but will surely try it and try to update the blog in sometime.
Following are the few useful commands that you should know before un-archiving any CPIO file.
1. To extract a CPIO file.
cpio -id <> any.CPIO
Here -o signifies cpio to read the standard output and copy it the files onto standard output
-v signifies verbose which will list all the file names
> signifies standard output file
Other advanced options can be found with the man pages on your OS.
Refer: http://www.bellevuelinux.org/man/cpio.1.html
Comments