bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] feature request - add option to cut directory path on extract


From: Bdale Garbee
Subject: [Bug-tar] feature request - add option to cut directory path on extract
Date: Tue, 26 Aug 2003 11:44:55 -0600
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Debian user Marc Haber <address@hidden> filed the following as
a wishlist bug against the Debian package of GNU tar. 

Please preserve the CC on any replies so that our bug tracking system can keep
a copy of the conversation about this request.  The full Debian BTS listing
for this request may be viewed at 

    http://bugs.debian.org/207280

Bdale


  Hi,

  some archives have members like

  foo/bar
  foo/baz
  foo/bam

  When I now want to extract the three members bar, baz and bam to the
  directory fom instead foo, I need to extract to foo and then to move
  the files over manually.

  patch(1) solves that problem by offering an option taking the number
  of path elements to cut away before using the path name. With an
  option like that, the above problem could be solved with

  tar --extract --cut-path-elements 1 --directory fom

  Please consider forwarding this request upstream.

  Greetings
  Marc





reply via email to

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