1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-05 08:15:35 +02:00

cpio: add page

This commit is contained in:
FlyingJester 2016-05-10 10:01:53 -07:00 committed by Agniva De Sarker
parent 87faf0ee10
commit a53fb05c95

16
pages/common/cpio.md Normal file
View file

@ -0,0 +1,16 @@
# cpio
> Archiving utility.
- Create an archive from files
`echo "{{file1}} {{file2}} {{file3}}" | cpio -ov > {{archive.cpio}}`
- Create an archive from a directory
`find {{directory}} | cpio -ov > {{archive.cpio}}`
- Extract an archive
`cpio -idv < {{archive.cpio}}`