FG
💻 Software

Piping in and out of tar and gzip

Fresh5 days ago
Mar 15, 202664663 views
Confidence Score0%
0%

Problem

I am trying to get a handle on how to pipe from a command into something like gzip, cpio or tar. The commands in question belong to the ZFS system. I am running ZFS on Ubuntu Linux 10.04.3. The commands I working with are; These parts I understand. But my first question is, what would I do to pipe …

Error Output

To create a snapshot;
zfs snapshot media/mypictures@20070607

To copy the snapshot to a directory;
zfs send media/mypictures@20070607 > ~/backups/200…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Piping in and out of tar and gzip

Low Risk

expects to be given a list of filenames as command line arguments. So far as I know, it cannot be used to read an anonymous pipeline (what would it store as filename and file-metadata?) If your data is a single logical item or stream, there is no ne…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment