help-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-tar] colon in archive name and force local


From: Reuti
Subject: Re: [Help-tar] colon in archive name and force local
Date: Tue, 6 Mar 2018 08:28:04 +0100

Hi,

> The first detail where I would like to verify my understanding is the
> reason why this feature was introduced in the first place. I'm assuming
> that the expected use case is to access remote tape device, which I can
> do even without the feature via pipe something like:
> 
>  $ tar cf - something | ssh remotehost "cat > /dev/sr0"

I use this often. But one should set:

set -o pipefail

as an error in `tar` gets undetected otherwise (or check the written archives 
afterwards).

-- Reuti


reply via email to

[Prev in Thread] Current Thread [Next in Thread]