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

today's leftovers

Leftovers: Software

  • Calibre 2.29 Includes Small Improvements Only
    As you may already know, Calibre is an open-source book management software, with many interesting features including e-book conversion, e-book viewer, library to ebook reader synchronization and support for the most popular eBook formats, including: epub, cbz, mobi, fb2. Being multi-platform, the app works on Linux, Windows and Mac OS X.
  • 3 Relatively Unknown Open Source Web Browsers for Linux that Packs the Punch
    Browser wars has been going on for more than a decade now and yet, there are no signs of a let down by any parties involved. In fact, things are only hotting up with the big three competing tooth and nail to become the leader of the pack. But that's not the entire story. A host of niche players are also in the market which are equally good and sometimes even better. Here, we'll discuss 3 superb free and open source web browsers you've probably never heard about.
  • Nemo 2.6 Gets A Plugin Manager, More [`Nemo With Unity Patches` PPA Updated]
    While Nemo 2.6 wasn't officially released yet (Cinnamon 2.6 is currently undergoing testing in the Linux Mint Romeo repository), its source has been available for some time on GitHub.
  • WinFF Review - Convert Any Video File with Ease
    WinFF is a tool that uses FFMPEG to convert any kind of video files by using a large number of presets and a ton of other options. It's been around for a long while, so it's time to take a closer look at it and see how it has endured the passage of time.
  • FusionForge 6.0 final release available
    After 4 release candidates, the FusionForge community is proud to announce the new major Fusionforge 6.0 final release.
  • Wine 1.7.44 Brings Support for Numerous Games
    Wine devs have announced that a new version of their application is out and it comes with some very interesting features, including improved support for the 64-bit platform.
  • Wine 1.7.44 Works On More 64-bit ARM Support
    Wine 1.7.44 is out this morning to end out the month of May for the Wine development community.

today's howtos

Raspberry Pi 2 Spotted in Point Break Remake, CSI: Cyber, and Big Hero 6

The movie industry has started to take note that there are very small PCs out there, like the Raspberry Pi 2, and producers have started to add them to film. Point Break is just one example. Read more