mirror of https://github.com/CrimsonTome/tldr.git
cpio: add page
parent
87faf0ee10
commit
a53fb05c95
|
@ -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}}`
|
||||
|
Loading…
Reference in New Issue