bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] How to supply the -n option to gzip when calling tar with


From: Eric Blake
Subject: Re: [Bug-tar] How to supply the -n option to gzip when calling tar with 'czf'?
Date: Mon, 09 Sep 2013 16:27:35 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 09/09/2013 03:39 PM, Peng Yu wrote:
> Hi,
> 
> I don't see how to supply the -n option to gzip when calling tar with
> 'czf'. Does anybody know if there is a way to do so?

Why?  Why not just use 'tar cf ... | gzip -cn ...'?  Remember, 'tar czf'
is only a shortcut for a commonly used setup, but if you need something
that isn't as common, then use longhand instead of the shortcut.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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