bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] Bug#440170: tar: add new option --include (to complement --exc


From: Jari Aalto
Subject: [Bug-tar] Bug#440170: tar: add new option --include (to complement --exclude)
Date: Thu, 30 Aug 2007 14:45:47 +0300

Package: tar
Version: 1.18-1
Severity: wishlist

Tar is user many times from scripts. Sometimes the scripts can let
user configure the options by importing the options from separate
file. An exmaple from bash:

  tar $(< $option_file) $DIRECTORY *.c

Tar contains option

  --exclude

Which could be put int $option_file, but the complimentary way to
add *more* files is currently possible to spcify only at the end of
$DIRECTORY. 

SUGGESTION

New option

  --include=<GLOB>

Would behave like the GLOB were attached to the end of command (filespec)
  
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Shell: /bin/sh linked to /bin/dash

Versions of packages tar depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries

tar recommends no packages.

-- no debconf information





reply via email to

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