Language Selection

English French German Italian Portuguese Spanish

Backing Up and Restoring Using the cpio Command in Linux and Unix

Filed under
Linux
Gentoo
Slack
SUSE
Ubuntu

The cpio command is one of the most commonly used Linux back up tools.

The cpio command has two unusual features

Unlike tar , in which the files to back up are typed in as part of the command, cpio reads the files to work with from the standard input (in other words, the screen).

This feature means that cpio must be used as part of a multiple command or with a redirection pipe. Examples of this usage are shown in the tables below.

cpio must always be used with one of three flags. Flags are options that set the mode in which the command runs. Only one flag can be used at a time, and it must come before any other options. In addition, the choice of flags limits the options that can be used. Each flag also has a gnu option that can used in its place. The gnu option gives a convenient name for each flag: extract, create, and pass- through.

Read Full article here

More in Tux Machines

Fairphone's Google-free open source OS is now available to download

Phone manufacturer Fairphone is all about making smartphones that are as accessible and ethical as possible. This includes trying to find conflict-free minerals for use in their phones' construction, but also the software that lives on these devices. Yesterday, the company released its own open source Fairphone OS — an Android-based operating system that doesn't include Google services. This means users will have to find their own apps for email, maps, and a browser, but in exchange they get more control over their software. Read more

Fedora 24 Delayed, Linus the Tops, New openSUSE Team

Fedora Program Manager Jan Kuřík today announced a delay in Fedora 24, both the upcoming Beta and Final. Elsewhere openSUSE announced a new community release team, a group of volunteers to help with the release tasks. Linus Torvalds and Richard Stallman both appeared on a "top 10 programmers of all time" list and a Windows 10 upgrade screen has gone viral. Read more

elementary OS 0.4 "Loki" to Be Based on Ubuntu 16.04, Promises Big New Features

A year ago, we were bold enough to predict that the next release of the elementary OS distribution would be version 0.4, dubbed Loki and based on the Ubuntu 16.04 LTS operating system. Read more