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

Code for Germany project launches

Each OK Lab is a source of a great variety of projects, tackling different social issues and topics. For example, the OK Lab in Hamburg has a strong focus on urban development, and has created a map which shows the distribution of playgrounds in the city. An app from the OK Lab Heilbronn depicts the quality of tap water by region, and another from the OK Lab Cologne helps users find the closest defibrillator in their area. One more of our favorite developments is called “Kleiner Spatz”, which translates to “Little Sparrow,” and helps parents to find free child care in their city. Read more

Today in Techrights

Android Build Support Improved For Libdrm

Emil Velikov, the new Mesa release manager, just landed a large set of libdrm patches for improving the open-source graphics drivers for Android. Emil enabled Android build support within Mesa's DRM library (libdrm) for the Intel driver along with the Freedreno (reverse-engineered Qualcomm Adreno), Nouveau, and Radeon drivers. Up to now any Android support wasn't part of mainline libdrm and landed today in time for the next update, libdrm v2.4.57. At this time there's no Android updates to talk about for the Mesa/Gallium3D drivers themselves. The new Mesa release manager has also been working on some other Mesa build improvements recently like working on make dist support. Read more

THE AWESOMELY EPIC GUIDE TO KDE

Desktops on Linux. They’re a concept completely alien to users of other operating systems because they never having to think about them. Desktops must feel like the abstract idea of time to the Amondawa tribe, a thought that doesn’t have any use until you’re in a different environment. But here it is – on Linux you don’t have to use the graphical environment lurking beneath your mouse cursor. You can change it for something completely different. If you don’t like windows, switch to xmonad. If you like full-screen apps, try Gnome. And if you’re after the most powerful and configurable point-and-click desktop, there’s KDE. KDE is wonderful, as they all are in their own way. But in our opinion, KDE in particular suffers from poor default configuration and a rather allusive learning curve. This is doubly frustrating, firstly because it has been quietly growing more brilliant over the last couple of years, and secondly, because KDE should be the first choice for users unhappy with their old desktop – in particular, Windows 8 users pining for an interface that makes sense. But fear not. We’re going to use a decade’s worth of KDE firefighting to bring you the definitive guide to making KDE look good and function slightly more like how you might expect it to. We’re not going to look at KDE’s applications, other than perhaps Dolphin; we’re instead going to look at the functionality in the desktop environment itself. And while our guinea pig distribution is going to be Mageia, this guide will be equally applicable to any recent KDE desktop running from almost any distribution, so don’t let the default Mageia background put you off. Read more