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

New Projects from the Ever-Protean World of Open Source

In my previous column, I pointed out that free software was now so successful, and in so many fields, that people might wonder whether there's anything left to do. The question was rhetorical, of course, of course: the ingenuity of the open source community means that people there will always find new and exciting projects. And not just the big one that I suggested of baking strong crypto into all our communication tools. There are countless other novel uses for open source, as these three very different examples below indicate. Read more

Microsoft 'loves' Linux? Then stop attacking open source

According to Satya Nadella, Microsoft loves Linux. He said as much, complete with pictures -- and his team backs him up. In itself, it's a remarkable statement. Nadella's predecessor, Steve Ballmer, described open source in the darkest terms, characterizing it (with the GNU GPL) as a commercial cancer and never retracting the slur. In many ways, that dark prophecy has come true for Microsoft, which has seen its rent-seeking business model steadily eroded by open source. Though it still has a cash cow to milk, Microsoft's monopolies no longer frighten anyone. Read more

Window and Desktop Switcher moved to Look’n’Feel Package

Today we did an important change in how KWin will distribute its assets in the upcoming 5.2 release. When we started our thoughts about the Look’n’Feel Package and how we want to have meta themes for the complete Plasma workspace we also wanted to have this for the Window and Desktop switcher provided by KWin. So the structure of the Look’n’Feel Package already has all the pieces for including the Window and Desktop Switcher, but it was not used. Now we finally addressed this for the 5.2 release and moved the default switcher into the Look’n’Feel Package and KWin can locate the switchers from the Look’n’Feel Package. Read more

Today in Techrights