The latest release (2020-06-22, Taking Off Again) R-4.0.2.tar.gz, read what's new in the latest version. Sources of R alpha and beta releases (daily snapshots, created only in time periods before a planned release). Daily snapshots of current patched and development versions are available here. Free online convert any archive or create new archive in ZIP format. ICA-AtoM is web-based archival description software that is based on International Council on Archives ('ICA') standards. 'AtoM' is an acronymn for 'Access to Memory'. ICA-AtoM is multi-lingual and supports multi-repository collections. See the online user manual for a full description of the software features.
cpio command is used to process archive files (for example, *.cpio or *.tar files).
cpio stands for “copy in, copy out”.
cpio performs the following three operations.
Copying files to an archive
Extracting files from an archive
Passing files to another directory tree
cpio takes the list of files from the standard input while creating an archive, and sends the output to the standard output.
1. Create *.cpio Archive File
You can create a *.cpio archive that contains files and directories using cpio -ov
As seen above, the ls command passes the three object filenames to cpio command and cpio generates the object.cpio archive.
2. Extract *.cpio Archive File
cpio extract: To extract a given *.cpio file, use cpio -iv as shown below.
3. Create *.cpio Archive with Selected Files
The following example creates a *.cpio archive only with *.c files.
4. Create *.tar Archive File using cpio -F
We already know how to use the tar command effectively.
Did you know that you can also use cpio command to create tar files as shown below?
As seen above, instead of redirecting the standard output you can mention the output archive filename with the option -F.
5. Extract *.tar Archive File using cpio command
You can also extract a tar file using cpio command as shown below.
6. View the content of *.tar Archive File
To view the content of *.tar file, do the following.
7. Create a *.cpio Archive with the Original files that a Symbolic Link Points
cpio archive can be created with the original files that a symbolic link is referring to as shown below.
8. Preserve the File Modification Time while restoring *.cpio
Colorsnapper 2 1 2 0. The modification time of the files can be preserved when we are restoring the cpio archive files as shown below.
9. Manipulate Linux and Kernel image files using cpio
How to View, Modify and Recreate initrd.img – As we discussed a while back, we can also use cpio command to manipulate initrd.img file.
10. Copy Directory Tree from One to Another
cpio allows you to copy one directory contents into another directory without creating an intermediate archive. It reads the file list from the standard input and pass it to the target directory.
The example below copies the files and sub-directories of objects directory into /mnt/out directory. Sketch 539.
In the above example:
cpio option -p makes cpio to use pass through mode. Its like piping cpio -o into cpio -i.
cpio option -d creates leading directories as needed in the target directory.
Archiver 3 0 2 – Open Create And Convert Archives Online
> Add your comment
If you enjoyed this article, you might also like.
Next post: Top 10 Open Source Bug Tracking System
Archiver 3 0 2 – Open Create And Convert Archives Pdf