Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
lpi2:cpio [2009/01/13 10:40] |
lpi2:cpio [2009/01/13 10:40] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== cpio ====== | ||
+ | |||
+ | ===== Archiv erstellen ===== | ||
+ | find /usr/share/doc/bash -depth -print0 | cpio -o0 -H crc > /tmp/bash-doc.cpio | ||
+ | |||
+ | ===== Archiv ansehen ===== | ||
+ | cpio -it < /tmp/bash-doc.cpio | ||
+ | |||
+ | ===== Archiv auspacken ===== | ||
+ | cd zielverzeichnis | ||
+ | cpio -dumi < /tmp/bash-doc.cpio | ||
+ | |||
+ | |||
+ | ===== Dateien kopieren ===== | ||
+ | find /usr/share/doc/bash -depth -type f -iname '*.html' -print0 | cpio -dump0 zielverzeichnis | ||