[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Allow tar to use command for compressing consisiting of mu
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] Allow tar to use command for compressing consisiting of multiple words. |
Date: |
Sun, 10 Feb 2013 15:21:32 +0300 |
Pavel Raiskup <address@hidden> ha escrit:
> In short, there would be nice to allow maintainers to specify something
> like this:
>
> ./configure --with-lzma="xz --format=lzma"
I have pushed the necessary fixes (commit 7b5e8039). Any option taking
a command name as its argument now accepts a full command line as well.
These options are:
--checkpoint-action=exec
-I, --use-compress-program
-F, --info-script
--to-command
Thus, one can do "tar -c -I 'gzip -9' .", for example.
The argument is split using almost the same rules as used by the shell
(excepting command substitution and arithmetic expansion). For the
commands that take additional information from environment variables
created by tar it is now possible to pass these in the command line
as well (escaping them from being expanded prematurely), e.g.:
tar -x -f a.tar --info-script='changevol $TAR_ARCHIVE $TAR_VOLUME'
Regards,
Sergey
- Re: [Bug-tar] Allow tar to use command for compressing consisiting of multiple words.,
Sergey Poznyakoff <=
- [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Pavel Raiskup, 2013/02/20
- [Bug-tar] [PATCH] tar: simplify code in system.c, Pavel Raiskup, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Sergey Poznyakoff, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Pavel Raiskup, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Sergey Poznyakoff, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Pavel Raiskup, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Sergey Poznyakoff, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Paul Eggert, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Sergey Poznyakoff, 2013/02/20