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 howtos

Google Chrome 60 Released

DRM-Carrying Flash's Death in the News

  • Google: HTML is Faster, Safer, and More Power Efficient Than Adobe's Flash
    After Adobe's big announcement this morning that they plan to end support for Flash in late 2020, Google Chrome's Anthony Laforge published a blog article asking Flash developers to start transitioning to HTML. For a long time, Google shipped its Chrome web browser built-in with Flash support, but it now looks like Chrome will slowly start blocking Flash content, require explicit permission from users, until upstream support is terminated three years from now, at the end of 2020. Google, like anyone else on this planet, believe HTML is faster, safer, and more power efficient than Flash, without a doubt.
  • Adobe Flash will die by 2020, Adobe and browser makers say
     

    For many, though, Flash was simply seen at least as a nuisance, and at worst a serious security risk.   

     

    Flash-based exploits have circulated for years, in a game of cat-and-mouse between hackers and Adobe itself. Apple's Steve Jobs famously banned Flash from the iPhone, claiming that Flash hurt battery life and also was a security risk. [...]

  • Adobe Flash is dead (well, nearly)
     

    Tech firms have long been hammering nail's into its coffin, too, and back in 2010, Steve Jobs famously penned a letter that called for the demise of Adobe Flash in favour of a shift to open web standards.

  • The end of Flash

FreeBSD 11.1 Released

  • FreeBSD 11.1 Operating System Debuts to Support 2nd Generation Microsoft Hyper-V
    The FreeBSD Project announced today the release and immediate availability of the first incremental update to the FreeBSD 11 operating system series, FreeBSD 11.1. It's been more than nine months since FreeBSD 11 was released as the latest and most advanced version of the widely-used and most popular BSD operating system on the market, and now, FreeBSD 11.1 is here with a bunch of new features across multiple components, as well as all the latest security and bug fixes.
  • FreeBSD 11.1 Debuts With LLVM/Clang 4, ZFS Improvements
    FreeBSD 11.1 is now available as the first point release to FreeBSD 11.
  • FreeBSD 11.1-RELEASE Announcement
    The FreeBSD Release Engineering Team is pleased to announce the availability of FreeBSD 11.1-RELEASE. This is the second release of the stable/11 branch.