cpio (target)
Copy file archives into and out of a newc format cpio archive (POSIX, toybox)
Syntax:
cpio -{i|o|p|t| dest} [-v] [--verbose] [-F file] [--no-preserve-owner] [ignored: -m -H newc]
Runs on:
QNX OS
Options:
- -d
- Create directories if needed.
- -F file
- Use the archive file instead of the standard input or standard output.
- -i dest
- Extract files from the archive and copy them into the file system (stdin=archive).
- --no-preserve-owner
- Don't set file ownership during extract.
- -o dest
- Create archive (stdin=list of files, stdout=archive).
- -p dest
- Copy-pass mode, copy the standard input file list to the specified directory destination.
- -t dest
- Test files (list only, stdin=archive, stdout=list of files).
- -u
- Unlink existing files when extracting.
- -v --verbose
- Be verbose.
Description:
The cpio utility produces and reads files in and out of a new (SVR4) portable (newc) format archive.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: