bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] What is -ignoreblocks doing?


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] What is -ignoreblocks doing?
Date: Wed, 23 Jan 2008 11:27:30 +0200

Ken Williams <address@hidden> ha escrit:

> A co-worker sent me the following command as a Neat Trick for extracting
> files from whichever tarball they happen to be in:
> 
>   cat *tar.gz | tar xz -ignoreblocks --files-from f

The option -ignoreblocks is parsed as `-i -g noreblocks',
i.e. `--ignore-zeros --listed-incremental=noreblocks'. The only
meaningful part is --ignore-zeros, the --listed-incremental option does
not produce any diagnostics because (1) its argument is not used when
extracting archives and (2) it is a no-op for none-incremental archives.
In two words, the above command can more properly be written as

    cat *tar.gz | tar xz --ignore-zeros --files-from f

Regards,
Sergey




reply via email to

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