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

Enlightenment Foundation Libraries 1.15 and Friends are Out

After three months of development work we are proud to announce the release of version 1.15 of the EFL, Elementary, Evas Generic Loaders and Emotion Generic Players. In these 12 weeks we got over 1000 commits from 64 authors in EFL alone. We slowed down a bit from last release (by around 200 commits). Elementary has another 472 commits by 56 authors. Great job everyone! Some highlights are listed below. Read more

Debian Finally Moves to GCC 5

Ubuntu and Debian developers have been working for some time to make GCC 5.x the default compiler for the project, and they have finally made it. Ubuntu was the first one to achieve this, and now it looks like Debian has joined the party as well. Read more

Open source Chromecast competitor, Matchstick, is dead

Nearly a year ago, Matchstick hit Kickstarter with the goal of bringing a more open HDMI dongle to challenge the likes of the Chromecast and Fire TV Stick. Today, however, its creators made a painful revelation. They’re not going to be able to deliver a satisfactory product, and that means around 17,000 backers won’t be getting their hands on the Firefox OS-based Matchsticks they were hoping for when they pledged their support to the project last fall. Read more

Lockheed Open Sources Its Secret Weapon In Cyber Threat Detection

The cybersecurity team at Lockheed Martin will share some defensive firepower with the security community at Black Hat this week with the open source release of an internal advance threat tool it has been using in house for three years now. Dubbed Laika BOSS, this malware detection platform is meant to help security analysts better hunt down malicious files and activity in an enterprise environment. Read more