Project

General

Profile

Bug #3474

tar should support -C on extract

Added by Joshua Clulow over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2013-01-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Currently our tar supports a -C on creation and a few other operations, but does not support -C on extract like GNU and OS X tar do. The desired behaviour is for -C to chdir(2) to the nominated directory after opening the archive, but before extracting files.

Use cases include: Richard Lowe.

NB: This RFE mirrors Joyent's OS-1626.

History

#2

Updated by Igor Pashev over 6 years ago

GNU tar allows multiple -C and uses the lastest one.

#3

Updated by Robert Mustacchi over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Resolved in c92bf99ee60c0b1fe1289fef2b4034126c7867a5.

Also available in: Atom PDF